From 19b9bb37e84d68cb5c90b9311571bfac6bae4664 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Wed, 16 Dec 2020 20:15:14 +0000 Subject: [PATCH 01/20] DAOS-6338 DAOS:Change DAOS license text For these directoriesi and their sub_dirs: daos/src/vos daos/src/vea daos/src/utils daos/src/tests daos/src/security Skip-build: true Skip-test: true Change-Id: I671260a65927385f1aa1404edfbfbf989d9433a2 Signed-off-by: Hua Kuang --- src/security/cli_security.c | 19 +------------------ src/security/srv.c | 19 +------------------ src/security/srv_acl.c | 19 +------------------ src/security/srv_internal.h | 19 +------------------ src/security/tests/cli_security_tests.c | 19 +------------------ src/security/tests/drpc_mocks.c | 19 +------------------ src/security/tests/drpc_mocks.h | 19 +------------------ src/security/tests/srv_acl_tests.c | 19 +------------------ src/tests/daos_perf.c | 19 +------------------ src/tests/daos_racer.c | 19 +------------------ src/tests/drpc/drpc_iosrv_test.c | 19 +------------------ src/tests/drpc/drpc_test.c | 19 +------------------ .../ftest/aggregation/aggregation_basic.py | 19 +------------------ .../ftest/aggregation/aggregation_checksum.py | 19 +------------------ .../ftest/aggregation/aggregation_io_small.py | 19 +------------------ .../ftest/aggregation/aggregation_punching.py | 19 +------------------ .../aggregation/aggregation_throttling.py | 19 +------------------ .../ftest/aggregation/dfuse_space_check.py | 19 +------------------ src/tests/ftest/avocado_tests.py | 19 +------------------ src/tests/ftest/cart/common.h | 19 +------------------ .../ftest/cart/corpc/cart_corpc_five_node.py | 19 +------------------ .../ftest/cart/corpc/cart_corpc_one_node.py | 19 +------------------ .../ftest/cart/corpc/cart_corpc_two_node.py | 19 +------------------ src/tests/ftest/cart/crt_basic.c | 19 +------------------ .../ftest/cart/ctl/cart_ctl_five_node.py | 19 +------------------ src/tests/ftest/cart/ctl/cart_ctl_one_node.py | 19 +------------------ src/tests/ftest/cart/fault_status.c | 19 +------------------ .../cart_ghost_rank_prc_one_node.py | 19 +------------------ src/tests/ftest/cart/group_test/group_test.py | 19 +------------------ src/tests/ftest/cart/iv/cart_iv_one_node.py | 19 +------------------ src/tests/ftest/cart/iv/cart_iv_two_node.py | 19 +------------------ src/tests/ftest/cart/iv_client.c | 19 +------------------ src/tests/ftest/cart/iv_common.h | 19 +------------------ src/tests/ftest/cart/iv_server.c | 19 +------------------ .../no_pmix/cart_nopmix_multictx_one_node.py | 19 +------------------ src/tests/ftest/cart/no_pmix_corpc_errors.c | 19 +------------------ src/tests/ftest/cart/no_pmix_group_test.c | 19 +------------------ src/tests/ftest/cart/no_pmix_group_version.c | 19 +------------------ .../ftest/cart/no_pmix_launcher_client.c | 19 +------------------ .../ftest/cart/no_pmix_launcher_common.h | 19 +------------------ .../ftest/cart/no_pmix_launcher_server.c | 19 +------------------ src/tests/ftest/cart/no_pmix_multi_ctx.c | 19 +------------------ .../cart_nopmix_launcher_one_node.py | 19 +------------------ src/tests/ftest/cart/rpc/cart_rpc_one_node.py | 19 +------------------ src/tests/ftest/cart/rpc/cart_rpc_two_node.py | 19 +------------------ src/tests/ftest/cart/rpc_test_cli.c | 19 +------------------ src/tests/ftest/cart/rpc_test_common.h | 19 +------------------ src/tests/ftest/cart/rpc_test_srv.c | 19 +------------------ src/tests/ftest/cart/rpc_test_srv2.c | 19 +------------------ .../cart/selftest/cart_selftest_three_node.py | 19 +------------------ src/tests/ftest/cart/test_corpc_exclusive.c | 19 +------------------ src/tests/ftest/cart/test_corpc_prefwd.c | 19 +------------------ src/tests/ftest/cart/test_ep_cred_client.c | 19 +------------------ src/tests/ftest/cart/test_ep_cred_common.h | 19 +------------------ src/tests/ftest/cart/test_ep_cred_server.c | 19 +------------------ src/tests/ftest/cart/test_group.c | 19 +------------------ src/tests/ftest/cart/test_group_np_cli.c | 19 +------------------ src/tests/ftest/cart/test_group_np_common.h | 19 +------------------ src/tests/ftest/cart/test_group_np_srv.c | 19 +------------------ src/tests/ftest/cart/test_group_rpc.h | 19 +------------------ src/tests/ftest/cart/test_hlc_net.c | 19 +------------------ src/tests/ftest/cart/test_no_timeout.c | 19 +------------------ src/tests/ftest/cart/test_proto_client.c | 19 +------------------ src/tests/ftest/cart/test_proto_common.h | 19 +------------------ src/tests/ftest/cart/test_proto_server.c | 19 +------------------ src/tests/ftest/cart/test_rpc_error.c | 19 +------------------ src/tests/ftest/cart/test_rpc_to_ghost_rank.c | 19 +------------------ src/tests/ftest/cart/test_swim.c | 19 +------------------ src/tests/ftest/cart/test_swim_emu.c | 19 +------------------ src/tests/ftest/cart/test_swim_net.c | 19 +------------------ src/tests/ftest/cart/tests_common.h | 19 +------------------ src/tests/ftest/cart/threaded_client.c | 19 +------------------ src/tests/ftest/cart/threaded_rpc.h | 19 +------------------ src/tests/ftest/cart/threaded_server.c | 19 +------------------ src/tests/ftest/cart/utest/utest_hlc.c | 19 +------------------ src/tests/ftest/cart/utest/utest_portnumber.c | 19 +------------------ src/tests/ftest/cart/utest/utest_swim.c | 19 +------------------ src/tests/ftest/cart/utest/wrap_cmocka.h | 19 +------------------ src/tests/ftest/cart/util/cart_utils.py | 19 +------------------ src/tests/ftest/checksum/basic_checksum.py | 19 +------------------ .../ftest/checksum/csum_error_logging.py | 19 +------------------ src/tests/ftest/config_file_gen.py | 19 +------------------ src/tests/ftest/container/attribute.py | 19 +------------------ src/tests/ftest/container/basic_snapshot.py | 19 +------------------ src/tests/ftest/container/basic_tx_test.py | 19 +------------------ src/tests/ftest/container/container_async.py | 19 +------------------ src/tests/ftest/container/container_check.py | 19 +------------------ src/tests/ftest/container/create.py | 19 +------------------ src/tests/ftest/container/delete.py | 19 +------------------ .../container/full_pool_container_create.py | 19 +------------------ src/tests/ftest/container/global_handle.py | 19 +------------------ src/tests/ftest/container/list_containers.py | 19 +------------------ .../container/multiple_container_delete.py | 19 +------------------ src/tests/ftest/container/open.py | 19 +------------------ src/tests/ftest/container/open_close.py | 19 +------------------ src/tests/ftest/container/query_attribute.py | 19 +------------------ .../ftest/container/root_container_test.py | 19 +------------------ .../container/simple_create_delete_test.py | 19 +------------------ src/tests/ftest/container/snapshot.py | 19 +------------------ .../ftest/container/snapshot_aggregation.py | 19 +------------------ .../ftest/control/daos_admin_privileged.py | 19 +------------------ src/tests/ftest/control/daos_agent_config.py | 19 +------------------ .../ftest/control/daos_control_config.py | 19 +------------------ src/tests/ftest/control/daos_object_query.py | 19 +------------------ src/tests/ftest/control/daos_scm_config.py | 19 +------------------ src/tests/ftest/control/daos_snapshot.py | 19 +------------------ src/tests/ftest/control/dmg_network_scan.py | 19 +------------------ src/tests/ftest/control/dmg_nvme_scan_test.py | 19 +------------------ src/tests/ftest/control/dmg_pool_evict.py | 19 +------------------ .../ftest/control/dmg_pool_query_test.py | 19 +------------------ src/tests/ftest/control/dmg_storage_query.py | 19 +------------------ .../ftest/control/dmg_storage_scan_scm.py | 19 +------------------ .../ftest/control/dmg_system_reformat.py | 19 +------------------ src/tests/ftest/control/ssd_socket.py | 19 +------------------ .../ftest/control/super_block_versioning.py | 19 +------------------ .../daos_test/daos_core_test-nvme_recovery.py | 19 +------------------ .../ftest/daos_test/daos_core_test-rebuild.py | 19 +------------------ src/tests/ftest/daos_test/daos_core_test.py | 19 +------------------ .../ftest/daos_test/daos_core_test_dfs.py | 19 +------------------ src/tests/ftest/datamover/container_copy.py | 16 +--------------- src/tests/ftest/datamover/copy_basics.py | 19 +------------------ src/tests/ftest/datamover/copy_negative.py | 19 +------------------ src/tests/ftest/datamover/copy_procs.py | 19 +------------------ src/tests/ftest/erasurecode/ec_ior_smoke.py | 19 +------------------ .../ftest/erasurecode/ec_mdtest_smoke.py | 19 +------------------ src/tests/ftest/io/crash_ior.py | 19 +------------------ src/tests/ftest/io/daos_perf.py | 19 +------------------ src/tests/ftest/io/daos_perf_large.py | 19 +------------------ src/tests/ftest/io/daos_racer.py | 19 +------------------ src/tests/ftest/io/daos_vol.py | 19 +------------------ src/tests/ftest/io/dfuse_bash_cmd.py | 19 +------------------ src/tests/ftest/io/dfuse_sparse_file.py | 19 +------------------ src/tests/ftest/io/fio_small.py | 19 +------------------ src/tests/ftest/io/hdf5.py | 19 +------------------ src/tests/ftest/io/io_aggregation.py | 19 +------------------ src/tests/ftest/io/io_consistency.py | 16 +--------------- src/tests/ftest/io/ior_hdf5.py | 19 +------------------ src/tests/ftest/io/ior_intercept_basic.py | 19 +------------------ src/tests/ftest/io/ior_intercept_dfuse_mix.py | 19 +------------------ .../ftest/io/ior_intercept_multi_client.py | 19 +------------------ .../io/ior_intercept_verify_data_integrity.py | 19 +------------------ src/tests/ftest/io/ior_large.py | 19 +------------------ src/tests/ftest/io/ior_small.py | 19 +------------------ src/tests/ftest/io/large_file_count.py | 16 +--------------- src/tests/ftest/io/llnl_mpi4py.py | 19 +------------------ src/tests/ftest/io/macsio_test.py | 19 +------------------ src/tests/ftest/io/mdtest_large.py | 19 +------------------ src/tests/ftest/io/mdtest_small.py | 19 +------------------ src/tests/ftest/io/parallel_io.py | 19 +------------------ src/tests/ftest/io/romio.py | 19 +------------------ src/tests/ftest/io/seg_count.py | 19 +------------------ src/tests/ftest/io/unaligned_io.py | 19 +------------------ src/tests/ftest/launch.py | 19 +------------------ src/tests/ftest/metrics.py | 19 +------------------ src/tests/ftest/network/cart_self_test.py | 19 +------------------ src/tests/ftest/network/zero_config.py | 19 +------------------ src/tests/ftest/nvme/enospace.py | 19 +------------------ src/tests/ftest/nvme/nvme_fault.py | 19 +------------------ src/tests/ftest/nvme/nvme_fragmentation.py | 19 +------------------ src/tests/ftest/nvme/nvme_health.py | 19 +------------------ src/tests/ftest/nvme/nvme_io.py | 19 +------------------ src/tests/ftest/nvme/nvme_io_stats.py | 19 +------------------ src/tests/ftest/nvme/nvme_io_verification.py | 19 +------------------ src/tests/ftest/nvme/nvme_object.py | 19 +------------------ src/tests/ftest/nvme/nvme_pool_capacity.py | 19 +------------------ src/tests/ftest/nvme/nvme_pool_exclude.py | 19 +------------------ src/tests/ftest/nvme/nvme_pool_extend.py | 19 +------------------ src/tests/ftest/object/array_obj_test.py | 19 +------------------ src/tests/ftest/object/create_many_dkeys.py | 19 +------------------ src/tests/ftest/object/obj_fetch_bad_param.py | 19 +------------------ src/tests/ftest/object/obj_open_bad_param.py | 19 +------------------ .../ftest/object/obj_update_bad_param.py | 19 +------------------ src/tests/ftest/object/object_integrity.py | 19 +------------------ src/tests/ftest/object/punch_test.py | 19 +------------------ .../ftest/object/same_key_different_value.py | 19 +------------------ src/tests/ftest/osa/osa_offline_drain.py | 19 +------------------ src/tests/ftest/osa/osa_offline_extend.py | 19 +------------------ .../ftest/osa/osa_offline_parallel_test.py | 19 +------------------ .../ftest/osa/osa_offline_reintegration.py | 19 +------------------ src/tests/ftest/osa/osa_online_drain.py | 19 +------------------ src/tests/ftest/osa/osa_online_extend.py | 19 +------------------ .../ftest/osa/osa_online_parallel_test.py | 19 +------------------ .../ftest/osa/osa_online_reintegration.py | 19 +------------------ src/tests/ftest/pool/attribute.py | 19 +------------------ src/tests/ftest/pool/bad_connect.py | 19 +------------------ src/tests/ftest/pool/bad_create.py | 19 +------------------ src/tests/ftest/pool/bad_evict.py | 19 +------------------ src/tests/ftest/pool/bad_exclude.py | 19 +------------------ src/tests/ftest/pool/bad_query.py | 19 +------------------ src/tests/ftest/pool/connect_test.py | 19 +------------------ src/tests/ftest/pool/create_test.py | 19 +------------------ src/tests/ftest/pool/destroy_rebuild.py | 19 +------------------ src/tests/ftest/pool/destroy_tests.py | 19 +------------------ src/tests/ftest/pool/dynamic_server_pool.py | 19 +------------------ src/tests/ftest/pool/evict_test.py | 19 +------------------ src/tests/ftest/pool/global_handle.py | 19 +------------------ src/tests/ftest/pool/info_tests.py | 19 +------------------ src/tests/ftest/pool/list_pools.py | 19 +------------------ .../pool/multi_server_create_delete_test.py | 19 +------------------ src/tests/ftest/pool/multiple_creates_test.py | 19 +------------------ src/tests/ftest/pool/permission.py | 19 +------------------ src/tests/ftest/pool/pool_svc.py | 19 +------------------ src/tests/ftest/pool/query_attribute.py | 19 +------------------ src/tests/ftest/pool/rebuild_no_cap.py | 19 +------------------ src/tests/ftest/pool/rebuild_tests.py | 19 +------------------ src/tests/ftest/pool/rebuild_with_io.py | 19 +------------------ src/tests/ftest/pool/rebuild_with_ior.py | 19 +------------------ .../ftest/pool/simple_create_delete_test.py | 19 +------------------ src/tests/ftest/pool/storage_ratio.py | 19 +------------------ src/tests/ftest/rebuild/cascading_failures.py | 19 +------------------ src/tests/ftest/rebuild/container_create.py | 19 +------------------ src/tests/ftest/rebuild/delete_objects.py | 19 +------------------ src/tests/ftest/rebuild/io_conf_run.py | 19 +------------------ src/tests/ftest/rebuild/read_array.py | 19 +------------------ src/tests/ftest/security/cont_create_acl.py | 19 +------------------ src/tests/ftest/security/cont_delete_acl.py | 19 +------------------ src/tests/ftest/security/cont_get_acl.py | 19 +------------------ .../ftest/security/cont_overwrite_acl.py | 19 +------------------ src/tests/ftest/security/cont_update_acl.py | 19 +------------------ .../ftest/security/container_security_acl.py | 19 +------------------ src/tests/ftest/security/pool_connect_init.py | 19 +------------------ src/tests/ftest/security/pool_security_acl.py | 19 +------------------ .../ftest/security/pool_security_groups.py | 19 +------------------ src/tests/ftest/server/cpu_usage.py | 19 +------------------ src/tests/ftest/server/daos_server_config.py | 19 +------------------ src/tests/ftest/server/daos_server_restart.py | 19 +------------------ src/tests/ftest/server/dynamic_start_stop.py | 19 +------------------ src/tests/ftest/server/metadata.py | 19 +------------------ src/tests/ftest/slurm_setup.py | 19 +------------------ src/tests/ftest/soak/soak_faults.py | 19 +------------------ src/tests/ftest/soak/soak_harassers.py | 19 +------------------ src/tests/ftest/soak/soak_smoke.py | 19 +------------------ src/tests/ftest/soak/soak_stress_2h.py | 19 +------------------ src/tests/ftest/soak/soak_stress_48h.py | 19 +------------------ src/tests/ftest/soak/soak_test_base.py | 19 +------------------ src/tests/ftest/soak/soak_utils.py | 19 +------------------ src/tests/ftest/unittest/unittest.py | 19 +------------------ src/tests/ftest/util/agent_utils.py | 19 +------------------ src/tests/ftest/util/agent_utils_params.py | 19 +------------------ src/tests/ftest/util/apricot/apricot/test.py | 19 +------------------ src/tests/ftest/util/check_for_pool.py | 19 +------------------ src/tests/ftest/util/command_utils.py | 19 +------------------ src/tests/ftest/util/command_utils_base.py | 19 +------------------ src/tests/ftest/util/configuration_utils.py | 19 +------------------ .../ftest/util/cont_security_test_base.py | 19 +------------------ src/tests/ftest/util/control_test_base.py | 19 +------------------ src/tests/ftest/util/daos_core_base.py | 19 +------------------ src/tests/ftest/util/daos_io_conf.py | 19 +------------------ src/tests/ftest/util/daos_perf_base.py | 19 +------------------ src/tests/ftest/util/daos_perf_utils.py | 19 +------------------ src/tests/ftest/util/daos_racer_utils.py | 19 +------------------ src/tests/ftest/util/daos_utils.py | 19 +------------------ src/tests/ftest/util/daos_utils_base.py | 19 +------------------ src/tests/ftest/util/data_mover_test_base.py | 19 +------------------ src/tests/ftest/util/data_mover_utils.py | 19 +------------------ src/tests/ftest/util/dfuse_test_base.py | 19 +------------------ src/tests/ftest/util/dfuse_utils.py | 19 +------------------ src/tests/ftest/util/dmg_utils.py | 19 +------------------ src/tests/ftest/util/dmg_utils_base.py | 19 +------------------ src/tests/ftest/util/dmg_utils_params.py | 19 +------------------ src/tests/ftest/util/fault_config_utils.py | 19 +------------------ src/tests/ftest/util/fio_test_base.py | 19 +------------------ src/tests/ftest/util/fio_utils.py | 19 +------------------ src/tests/ftest/util/general_utils.py | 19 +------------------ src/tests/ftest/util/get_hosts_from_file.py | 19 +------------------ src/tests/ftest/util/io_utilities.py | 19 +------------------ src/tests/ftest/util/ior_test_base.py | 19 +------------------ src/tests/ftest/util/ior_utils.py | 19 +------------------ src/tests/ftest/util/job_manager_utils.py | 19 +------------------ src/tests/ftest/util/logger_utils.py | 19 +------------------ src/tests/ftest/util/macsio_test_base.py | 19 +------------------ src/tests/ftest/util/macsio_util.py | 19 +------------------ src/tests/ftest/util/mdtest_test_base.py | 19 +------------------ src/tests/ftest/util/mdtest_utils.py | 19 +------------------ src/tests/ftest/util/mpio_utils.py | 19 +------------------ src/tests/ftest/util/nvme_utils.py | 19 +------------------ src/tests/ftest/util/osa_utils.py | 19 +------------------ .../ftest/util/pool_security_test_base.py | 19 +------------------ src/tests/ftest/util/pool_test_base.py | 19 +------------------ src/tests/ftest/util/rebuild_test_base.py | 19 +------------------ src/tests/ftest/util/security_test_base.py | 19 +------------------ src/tests/ftest/util/server_utils.py | 19 +------------------ src/tests/ftest/util/server_utils_params.py | 19 +------------------ src/tests/ftest/util/slurm_utils.py | 19 +------------------ src/tests/ftest/util/test_utils_base.py | 19 +------------------ src/tests/ftest/util/test_utils_container.py | 19 +------------------ src/tests/ftest/util/test_utils_pool.py | 19 +------------------ src/tests/ftest/util/vol_test_base.py | 19 +------------------ src/tests/ftest/util/write_host_file.py | 19 +------------------ src/tests/ftest/util/write_some_data.py | 19 +------------------ src/tests/jobtest.c | 19 +------------------ src/tests/obj_ctl.c | 19 +------------------ src/tests/security/acl_dump_test.c | 19 +------------------ src/tests/security/security_test.c | 19 +------------------ src/tests/simple_array.c | 19 +------------------ src/tests/simple_obj.c | 19 +------------------ src/tests/suite/daos_aggregate_ec.c | 19 +------------------ src/tests/suite/daos_array.c | 19 +------------------ src/tests/suite/daos_base_tx.c | 19 +------------------ src/tests/suite/daos_capa.c | 19 +------------------ src/tests/suite/daos_checksum.c | 19 +------------------ src/tests/suite/daos_container.c | 19 +------------------ src/tests/suite/daos_dedup.c | 19 +------------------ src/tests/suite/daos_degrade_ec.c | 19 +------------------ src/tests/suite/daos_degraded.c | 19 +------------------ src/tests/suite/daos_dist_tx.c | 19 +------------------ src/tests/suite/daos_drain_simple.c | 19 +------------------ src/tests/suite/daos_epoch.c | 19 +------------------ src/tests/suite/daos_epoch_io.c | 19 +------------------ src/tests/suite/daos_epoch_recovery.c | 19 +------------------ src/tests/suite/daos_iotest.h | 19 +------------------ src/tests/suite/daos_kv.c | 19 +------------------ src/tests/suite/daos_md_replication.c | 19 +------------------ src/tests/suite/daos_mgmt.c | 19 +------------------ src/tests/suite/daos_nvme_recovery.c | 19 +------------------ src/tests/suite/daos_obj.c | 19 +------------------ src/tests/suite/daos_obj_array.c | 19 +------------------ src/tests/suite/daos_oid_alloc.c | 19 +------------------ src/tests/suite/daos_pool.c | 19 +------------------ src/tests/suite/daos_rebuild.c | 19 +------------------ src/tests/suite/daos_rebuild_common.c | 19 +------------------ src/tests/suite/daos_rebuild_ec.c | 19 +------------------ src/tests/suite/daos_rebuild_simple.c | 19 +------------------ src/tests/suite/daos_test.c | 19 +------------------ src/tests/suite/daos_test.h | 19 +------------------ src/tests/suite/daos_test_common.c | 19 +------------------ src/tests/suite/daos_verify_consistency.c | 19 +------------------ src/tests/suite/dfs_par_test.c | 19 +------------------ src/tests/suite/dfs_test.c | 19 +------------------ src/tests/suite/dfs_test.h | 19 +------------------ src/tests/suite/dfs_unit_test.c | 19 +------------------ .../suite/io_conf/daos_generate_io_conf.c | 19 +------------------ src/tests/suite/io_conf/daos_run_io_conf.c | 19 +------------------ src/utils/crt_launch/crt_launch.c | 19 +------------------ src/utils/ctl/cart_ctl.c | 19 +------------------ src/utils/daos.c | 19 +------------------ src/utils/daos_autotest.c | 19 +------------------ src/utils/daos_hdlr.c | 19 +------------------ src/utils/daos_hdlr.h | 19 +------------------ src/utils/self_test/self_test.c | 19 +------------------ src/vea/tests/vea_ut.c | 19 +------------------ src/vea/vea_alloc.c | 19 +------------------ src/vea/vea_api.c | 19 +------------------ src/vea/vea_free.c | 19 +------------------ src/vea/vea_hint.c | 19 +------------------ src/vea/vea_init.c | 19 +------------------ src/vea/vea_internal.h | 19 +------------------ src/vea/vea_util.c | 19 +------------------ src/vos/evt_iter.c | 19 +------------------ src/vos/evt_priv.h | 19 +------------------ src/vos/evtree.c | 19 +------------------ src/vos/ilog.c | 19 +------------------ src/vos/ilog.h | 19 +------------------ src/vos/lru_array.c | 19 +------------------ src/vos/lru_array.h | 19 +------------------ src/vos/tests/evt_ctl.c | 19 +------------------ src/vos/tests/vos_tests.c | 19 +------------------ src/vos/tests/vts_aggregate.c | 19 +------------------ src/vos/tests/vts_array.c | 19 +------------------ src/vos/tests/vts_array.h | 19 +------------------ src/vos/tests/vts_checksum.c | 19 +------------------ src/vos/tests/vts_common.c | 19 +------------------ src/vos/tests/vts_common.h | 19 +------------------ src/vos/tests/vts_container.c | 19 +------------------ src/vos/tests/vts_dtx.c | 19 +------------------ src/vos/tests/vts_gc.c | 19 +------------------ src/vos/tests/vts_ilog.c | 19 +------------------ src/vos/tests/vts_io.c | 19 +------------------ src/vos/tests/vts_io.h | 19 +------------------ src/vos/tests/vts_mvcc.c | 19 +------------------ src/vos/tests/vts_pm.c | 19 +------------------ src/vos/tests/vts_pool.c | 19 +------------------ src/vos/tests/vts_ts.c | 19 +------------------ src/vos/vos_aggregate.c | 19 +------------------ src/vos/vos_common.c | 19 +------------------ src/vos/vos_container.c | 19 +------------------ src/vos/vos_dtx.c | 19 +------------------ src/vos/vos_dtx_iter.c | 19 +------------------ src/vos/vos_gc.c | 19 +------------------ src/vos/vos_ilog.c | 19 +------------------ src/vos/vos_ilog.h | 19 +------------------ src/vos/vos_internal.h | 19 +------------------ src/vos/vos_io.c | 19 +------------------ src/vos/vos_iterator.c | 19 +------------------ src/vos/vos_layout.h | 19 +------------------ src/vos/vos_obj.c | 19 +------------------ src/vos/vos_obj.h | 19 +------------------ src/vos/vos_obj_cache.c | 19 +------------------ src/vos/vos_obj_index.c | 19 +------------------ src/vos/vos_pool.c | 19 +------------------ src/vos/vos_query.c | 19 +------------------ src/vos/vos_size.c | 19 +------------------ src/vos/vos_space.c | 19 +------------------ src/vos/vos_tls.h | 19 +------------------ src/vos/vos_tree.c | 19 +------------------ src/vos/vos_ts.c | 19 +------------------ src/vos/vos_ts.h | 19 +------------------ 397 files changed, 397 insertions(+), 7137 deletions(-) diff --git a/src/security/cli_security.c b/src/security/cli_security.c index cab48d6a490..fcab3cb25e2 100644 --- a/src/security/cli_security.c +++ b/src/security/cli_security.c @@ -1,24 +1,7 @@ /* * (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. 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..8b619e01c84 100644 --- a/src/security/srv.c +++ b/src/security/srv.c @@ -1,24 +1,7 @@ /* * (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. 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 af65953b910..498f3ec9c44 100644 --- a/src/security/srv_acl.c +++ b/src/security/srv_acl.c @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include diff --git a/src/security/srv_internal.h b/src/security/srv_internal.h index 281ef646896..e451fd73464 100644 --- a/src/security/srv_internal.h +++ b/src/security/srv_internal.h @@ -1,24 +1,7 @@ /* * (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. + * 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..ad21669518a 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..fd10b2ef68f 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..5498be787de 100644 --- a/src/security/tests/drpc_mocks.h +++ b/src/security/tests/drpc_mocks.h @@ -1,24 +1,7 @@ /* * (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. 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 0aa0e775d6f..dcc5ce1d539 100644 --- a/src/security/tests/srv_acl_tests.c +++ b/src/security/tests/srv_acl_tests.c @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/tests/daos_perf.c b/src/tests/daos_perf.c index c1ed032d93d..e0d7f3f4644 100644 --- a/src/tests/daos_perf.c +++ b/src/tests/daos_perf.c @@ -1,24 +1,7 @@ /** * (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. + * 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..e50dc3fdf67 100644 --- a/src/tests/daos_racer.c +++ b/src/tests/daos_racer.c @@ -1,24 +1,7 @@ /** * (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. + * 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..891fc43b94f 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..2d4b9a2c273 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 6bf43c20e27..6062f4ee724 100644 --- a/src/tests/ftest/aggregation/aggregation_basic.py +++ b/src/tests/ftest/aggregation/aggregation_basic.py @@ -2,24 +2,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. + 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 38745e72bcf..2deec506f43 100644 --- a/src/tests/ftest/aggregation/aggregation_checksum.py +++ b/src/tests/ftest/aggregation/aggregation_checksum.py @@ -2,24 +2,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. + 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..e0d35da3483 100644 --- a/src/tests/ftest/aggregation/aggregation_io_small.py +++ b/src/tests/ftest/aggregation/aggregation_io_small.py @@ -2,24 +2,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. + 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 85e3ade43f2..fd92472f69d 100644 --- a/src/tests/ftest/aggregation/aggregation_punching.py +++ b/src/tests/ftest/aggregation/aggregation_punching.py @@ -2,24 +2,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. + 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..1ec71410604 100644 --- a/src/tests/ftest/aggregation/aggregation_throttling.py +++ b/src/tests/ftest/aggregation/aggregation_throttling.py @@ -2,24 +2,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. + 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..01137fa6212 100644 --- a/src/tests/ftest/aggregation/dfuse_space_check.py +++ b/src/tests/ftest/aggregation/dfuse_space_check.py @@ -2,24 +2,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. + 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..4cd0d9752bb 100755 --- a/src/tests/ftest/avocado_tests.py +++ b/src/tests/ftest/avocado_tests.py @@ -2,24 +2,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 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 """ import time diff --git a/src/tests/ftest/cart/common.h b/src/tests/ftest/cart/common.h index dd2f7d0ddf9..4b1a7d178f3 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 43b3101291d..7adbd3e7312 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_five_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_five_node.py @@ -2,24 +2,7 @@ ''' (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. + 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 f7fc38f2fdd..1d770b44b2e 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_one_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_one_node.py @@ -2,24 +2,7 @@ ''' (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. + 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 87a06193f58..46b56dd1076 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_two_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_two_node.py @@ -2,24 +2,7 @@ ''' (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. + 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..a2f3a51774b 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 5b636ed8573..ac309e2b4f3 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_five_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_five_node.py @@ -2,24 +2,7 @@ ''' (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. + 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 fd4a4d27871..6e5ffa3bb40 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_one_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_one_node.py @@ -2,24 +2,7 @@ ''' (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. + 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..03e15e68fcc 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 d6fdd0903a8..b437b593829 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 @@ -2,24 +2,7 @@ ''' (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. + 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 b1abf566b32..7d23d601522 100755 --- a/src/tests/ftest/cart/group_test/group_test.py +++ b/src/tests/ftest/cart/group_test/group_test.py @@ -2,24 +2,7 @@ ''' (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. + 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 c1b4197e997..a973eedd032 100755 --- a/src/tests/ftest/cart/iv/cart_iv_one_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_one_node.py @@ -2,24 +2,7 @@ ''' (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. + 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 464bf300a51..4b4eeb3790f 100755 --- a/src/tests/ftest/cart/iv/cart_iv_two_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_two_node.py @@ -2,24 +2,7 @@ ''' (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. + 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 5154bb34462..df9caa4c61f 100644 --- a/src/tests/ftest/cart/iv_client.c +++ b/src/tests/ftest/cart/iv_client.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2016-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. + * 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 349039432e6..1378257d250 100644 --- a/src/tests/ftest/cart/iv_common.h +++ b/src/tests/ftest/cart/iv_common.h @@ -1,24 +1,7 @@ /* * (C) Copyright 2016-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. + * 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 970196ae1b6..0c140fd9f4d 100644 --- a/src/tests/ftest/cart/iv_server.c +++ b/src/tests/ftest/cart/iv_server.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2016-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. + * 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 4da2bd55233..8c01aa60e6f 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 @@ -2,24 +2,7 @@ ''' (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. + 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..82026dcbb18 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..929e95a3172 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..ec131503fa6 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..59237f100e1 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..593f49a3c8f 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..a060e4d1b3e 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..a286f452be7 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 a8047ba07f9..cd37a8b1149 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 @@ -2,24 +2,7 @@ ''' (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. + 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 b23f5c5efcf..ff46afde014 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_one_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_one_node.py @@ -2,24 +2,7 @@ ''' (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. + 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 c3695a7a2cf..d6b66a27a08 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_two_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_two_node.py @@ -2,24 +2,7 @@ ''' (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. + 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..8c43c577f11 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..ae4fa247da0 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 d1a6e7a1157..2c0dce64379 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-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. + * 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..8738617003f 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 b86a75d2e5d..b8d0e8a8f9c 100755 --- a/src/tests/ftest/cart/selftest/cart_selftest_three_node.py +++ b/src/tests/ftest/cart/selftest/cart_selftest_three_node.py @@ -2,24 +2,7 @@ ''' (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. + 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..51531e3c29d 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..292188f4155 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 fb795dba58c..5c0ccc41cdc 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 d6421f636b9..884c81a29c7 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..d736a426e5d 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 46fc8261c9c..b489d03b67a 100644 --- a/src/tests/ftest/cart/test_group.c +++ b/src/tests/ftest/cart/test_group.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2016-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. + * 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 b12a10d7197..68f8d011ad0 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 6fdfe8fa233..29288a735d9 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..9df6752b5e6 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..19e8edc5a1d 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..056dba7c3e0 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 903287a4d41..2dd5c97fbe9 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-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. + * 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 1ad7868bbf7..6496e440aa6 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 e6f88010700..1ce6b5a0e5d 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..843f54bcd5b 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..98f1839faec 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..afa61d5567f 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..518988fa84b 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..e6ac1306370 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..f90e464a2f7 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 fe2bf5a6d0f..50542a9763d 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..7284beb2bf0 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..147f5e7cfa7 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..9a34b0fc69a 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..63852f77e6f 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..d62f9ac9bbd 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..8b41c07bcb8 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..79362d743aa 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 35ac5018746..71abd97aa57 100755 --- a/src/tests/ftest/cart/util/cart_utils.py +++ b/src/tests/ftest/cart/util/cart_utils.py @@ -2,24 +2,7 @@ ''' (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. + 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 cc6cc1e910c..af2e65981f6 100644 --- a/src/tests/ftest/checksum/basic_checksum.py +++ b/src/tests/ftest/checksum/basic_checksum.py @@ -2,24 +2,7 @@ """ (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. + 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 c0638440929..93435595684 100644 --- a/src/tests/ftest/checksum/csum_error_logging.py +++ b/src/tests/ftest/checksum/csum_error_logging.py @@ -2,24 +2,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. + 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..2a13ceae9ce 100755 --- a/src/tests/ftest/config_file_gen.py +++ b/src/tests/ftest/config_file_gen.py @@ -2,24 +2,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. + 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..145f4fe0e36 100755 --- a/src/tests/ftest/container/attribute.py +++ b/src/tests/ftest/container/attribute.py @@ -2,24 +2,7 @@ ''' (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. + 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..97b5cca9cde 100755 --- a/src/tests/ftest/container/basic_snapshot.py +++ b/src/tests/ftest/container/basic_snapshot.py @@ -2,24 +2,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. + 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 5f686cf73a3..d837538b62d 100755 --- a/src/tests/ftest/container/basic_tx_test.py +++ b/src/tests/ftest/container/basic_tx_test.py @@ -2,24 +2,7 @@ ''' (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. + 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..f90cb92c28c 100755 --- a/src/tests/ftest/container/container_async.py +++ b/src/tests/ftest/container/container_async.py @@ -2,24 +2,7 @@ ''' (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. + 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..e9a168c43cd 100644 --- a/src/tests/ftest/container/container_check.py +++ b/src/tests/ftest/container/container_check.py @@ -2,24 +2,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. + 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..a0e10759c05 100755 --- a/src/tests/ftest/container/create.py +++ b/src/tests/ftest/container/create.py @@ -2,24 +2,7 @@ ''' (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. + 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..951fbf32bea 100755 --- a/src/tests/ftest/container/delete.py +++ b/src/tests/ftest/container/delete.py @@ -2,24 +2,7 @@ """ (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. + 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..d9ecf250408 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. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided 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 a51408e09d1..5ad931ea8a3 100755 --- a/src/tests/ftest/container/global_handle.py +++ b/src/tests/ftest/container/global_handle.py @@ -2,24 +2,7 @@ ''' (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. + 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..333f53e3840 100755 --- a/src/tests/ftest/container/list_containers.py +++ b/src/tests/ftest/container/list_containers.py @@ -2,24 +2,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. + 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..3eb4e261a2c 100644 --- a/src/tests/ftest/container/multiple_container_delete.py +++ b/src/tests/ftest/container/multiple_container_delete.py @@ -2,24 +2,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. + 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..d00e9a5c2da 100755 --- a/src/tests/ftest/container/open.py +++ b/src/tests/ftest/container/open.py @@ -2,24 +2,7 @@ ''' (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. + 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..32688f6cc72 100755 --- a/src/tests/ftest/container/open_close.py +++ b/src/tests/ftest/container/open_close.py @@ -2,24 +2,7 @@ ''' (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. + 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..14e7028da20 100644 --- a/src/tests/ftest/container/query_attribute.py +++ b/src/tests/ftest/container/query_attribute.py @@ -2,24 +2,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 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/container/root_container_test.py b/src/tests/ftest/container/root_container_test.py index 39c949a17f5..04281c983aa 100644 --- a/src/tests/ftest/container/root_container_test.py +++ b/src/tests/ftest/container/root_container_test.py @@ -2,24 +2,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. + 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 bbc3779aaac..ff1eda11808 100755 --- a/src/tests/ftest/container/simple_create_delete_test.py +++ b/src/tests/ftest/container/simple_create_delete_test.py @@ -2,24 +2,7 @@ """ (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. + 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 5f9beb1a4d0..ee1291672ed 100755 --- a/src/tests/ftest/container/snapshot.py +++ b/src/tests/ftest/container/snapshot.py @@ -2,24 +2,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. + 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 4387a4f315e..5bb20ca4d8e 100644 --- a/src/tests/ftest/container/snapshot_aggregation.py +++ b/src/tests/ftest/container/snapshot_aggregation.py @@ -2,24 +2,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. + 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 f6e79d9ae58..d7f05f493e0 100644 --- a/src/tests/ftest/control/daos_admin_privileged.py +++ b/src/tests/ftest/control/daos_admin_privileged.py @@ -2,24 +2,7 @@ """ (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. + 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 6d07c9a83f2..5c8a83269d6 100644 --- a/src/tests/ftest/control/daos_agent_config.py +++ b/src/tests/ftest/control/daos_agent_config.py @@ -2,24 +2,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. + 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 00e4a773a34..20488875d70 100644 --- a/src/tests/ftest/control/daos_control_config.py +++ b/src/tests/ftest/control/daos_control_config.py @@ -2,24 +2,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. + 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..fd3438748e5 100644 --- a/src/tests/ftest/control/daos_object_query.py +++ b/src/tests/ftest/control/daos_object_query.py @@ -2,24 +2,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. + 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 68be290bbf6..402e5148fae 100644 --- a/src/tests/ftest/control/daos_scm_config.py +++ b/src/tests/ftest/control/daos_scm_config.py @@ -2,24 +2,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. + 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..fefe0d86104 100755 --- a/src/tests/ftest/control/daos_snapshot.py +++ b/src/tests/ftest/control/daos_snapshot.py @@ -2,24 +2,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. + 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 99612621da9..4ed3ee9880c 100644 --- a/src/tests/ftest/control/dmg_network_scan.py +++ b/src/tests/ftest/control/dmg_network_scan.py @@ -2,24 +2,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. + 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 6aac3ffb6a5..e7d329f6bc8 100755 --- a/src/tests/ftest/control/dmg_nvme_scan_test.py +++ b/src/tests/ftest/control/dmg_nvme_scan_test.py @@ -2,24 +2,7 @@ """ (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. + 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..05406f92b52 100644 --- a/src/tests/ftest/control/dmg_pool_evict.py +++ b/src/tests/ftest/control/dmg_pool_evict.py @@ -2,24 +2,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. + 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 b345fca8dd9..24c609965a6 100644 --- a/src/tests/ftest/control/dmg_pool_query_test.py +++ b/src/tests/ftest/control/dmg_pool_query_test.py @@ -2,24 +2,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. + 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 69bbf9d5960..8e4147c92a9 100644 --- a/src/tests/ftest/control/dmg_storage_query.py +++ b/src/tests/ftest/control/dmg_storage_query.py @@ -2,24 +2,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. + 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..bd23798691c 100644 --- a/src/tests/ftest/control/dmg_storage_scan_scm.py +++ b/src/tests/ftest/control/dmg_storage_scan_scm.py @@ -2,24 +2,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. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/control/dmg_system_reformat.py b/src/tests/ftest/control/dmg_system_reformat.py index 2ea43e6d697..7f7cfd582f4 100644 --- a/src/tests/ftest/control/dmg_system_reformat.py +++ b/src/tests/ftest/control/dmg_system_reformat.py @@ -2,24 +2,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. + 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..9a5aba5ccbf 100644 --- a/src/tests/ftest/control/ssd_socket.py +++ b/src/tests/ftest/control/ssd_socket.py @@ -2,24 +2,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. + 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 b5ccd11c8bf..69f498aff3e 100644 --- a/src/tests/ftest/control/super_block_versioning.py +++ b/src/tests/ftest/control/super_block_versioning.py @@ -2,24 +2,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. + 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..a62d3c2a297 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 @@ -2,24 +2,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. + 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 714d05bb40a..ea36e0a144f 100755 --- a/src/tests/ftest/daos_test/daos_core_test-rebuild.py +++ b/src/tests/ftest/daos_test/daos_core_test-rebuild.py @@ -2,24 +2,7 @@ ''' (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. + 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 16659a609a9..10defbb6160 100755 --- a/src/tests/ftest/daos_test/daos_core_test.py +++ b/src/tests/ftest/daos_test/daos_core_test.py @@ -2,24 +2,7 @@ """ (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. + 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 3557623fb28..7d06c33d2cc 100755 --- a/src/tests/ftest/daos_test/daos_core_test_dfs.py +++ b/src/tests/ftest/daos_test/daos_core_test_dfs.py @@ -2,24 +2,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. + 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 b63fde06a81..2d63d6acbb1 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. + 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 c194721e626..e6d3577b73f 100644 --- a/src/tests/ftest/datamover/copy_basics.py +++ b/src/tests/ftest/datamover/copy_basics.py @@ -2,24 +2,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. + 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 f61d3b7db05..85e1f7ec54f 100644 --- a/src/tests/ftest/datamover/copy_negative.py +++ b/src/tests/ftest/datamover/copy_negative.py @@ -2,24 +2,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. + 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 3c8f7f9ad3f..71e8819863b 100644 --- a/src/tests/ftest/datamover/copy_procs.py +++ b/src/tests/ftest/datamover/copy_procs.py @@ -2,24 +2,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. + 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 b04f2682077..711252d35f1 100644 --- a/src/tests/ftest/erasurecode/ec_ior_smoke.py +++ b/src/tests/ftest/erasurecode/ec_ior_smoke.py @@ -2,24 +2,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. + 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 26a24447379..b4cfccf4e65 100644 --- a/src/tests/ftest/erasurecode/ec_mdtest_smoke.py +++ b/src/tests/ftest/erasurecode/ec_mdtest_smoke.py @@ -2,24 +2,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. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from mdtest_test_base import MdtestBase diff --git a/src/tests/ftest/io/crash_ior.py b/src/tests/ftest/io/crash_ior.py index f2ab6c8c6d3..f37a3ee7820 100644 --- a/src/tests/ftest/io/crash_ior.py +++ b/src/tests/ftest/io/crash_ior.py @@ -2,24 +2,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. + 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..c949562908f 100755 --- a/src/tests/ftest/io/daos_perf.py +++ b/src/tests/ftest/io/daos_perf.py @@ -2,24 +2,7 @@ """ (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. + 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..111c76d4ab3 100755 --- a/src/tests/ftest/io/daos_perf_large.py +++ b/src/tests/ftest/io/daos_perf_large.py @@ -2,24 +2,7 @@ """ (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. + 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..9c47dee6571 100644 --- a/src/tests/ftest/io/daos_racer.py +++ b/src/tests/ftest/io/daos_racer.py @@ -2,24 +2,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. + 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 007f5f85e94..ad0d6eeacc6 100644 --- a/src/tests/ftest/io/daos_vol.py +++ b/src/tests/ftest/io/daos_vol.py @@ -2,24 +2,7 @@ """ (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. +SPDX-License-Identifier: BSD-2-Clause-Patent """ from vol_test_base import VolTestBase diff --git a/src/tests/ftest/io/dfuse_bash_cmd.py b/src/tests/ftest/io/dfuse_bash_cmd.py index d5cdbcf0866..f2d7b932362 100644 --- a/src/tests/ftest/io/dfuse_bash_cmd.py +++ b/src/tests/ftest/io/dfuse_bash_cmd.py @@ -2,24 +2,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. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os import general_utils diff --git a/src/tests/ftest/io/dfuse_sparse_file.py b/src/tests/ftest/io/dfuse_sparse_file.py index 5aed1847e3d..a0d4b16f0c9 100644 --- a/src/tests/ftest/io/dfuse_sparse_file.py +++ b/src/tests/ftest/io/dfuse_sparse_file.py @@ -2,24 +2,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. + 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 88d05d995c8..ce742e2f47c 100755 --- a/src/tests/ftest/io/fio_small.py +++ b/src/tests/ftest/io/fio_small.py @@ -2,24 +2,7 @@ ''' (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. + 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 39acf0c576d..334e941c224 100644 --- a/src/tests/ftest/io/hdf5.py +++ b/src/tests/ftest/io/hdf5.py @@ -2,24 +2,7 @@ """ (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. + 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..451ad17bd1d 100644 --- a/src/tests/ftest/io/io_aggregation.py +++ b/src/tests/ftest/io/io_aggregation.py @@ -2,24 +2,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. + 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 462ef566961..1a0afca1409 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. + 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..f2b5c66e0b3 100644 --- a/src/tests/ftest/io/ior_hdf5.py +++ b/src/tests/ftest/io/ior_hdf5.py @@ -2,24 +2,7 @@ """ (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. +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..c25c948d8bc 100644 --- a/src/tests/ftest/io/ior_intercept_basic.py +++ b/src/tests/ftest/io/ior_intercept_basic.py @@ -2,24 +2,7 @@ """ (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. + 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..5018b8ba257 100644 --- a/src/tests/ftest/io/ior_intercept_dfuse_mix.py +++ b/src/tests/ftest/io/ior_intercept_dfuse_mix.py @@ -2,24 +2,7 @@ """ (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. + 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..cd644471de0 100644 --- a/src/tests/ftest/io/ior_intercept_multi_client.py +++ b/src/tests/ftest/io/ior_intercept_multi_client.py @@ -2,24 +2,7 @@ """ (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. + 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..94640cab3f9 100644 --- a/src/tests/ftest/io/ior_intercept_verify_data_integrity.py +++ b/src/tests/ftest/io/ior_intercept_verify_data_integrity.py @@ -2,24 +2,7 @@ """ (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. + 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..8550a34031d 100755 --- a/src/tests/ftest/io/ior_large.py +++ b/src/tests/ftest/io/ior_large.py @@ -2,24 +2,7 @@ """ (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. + 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 928481024ef..e1f486f77ed 100755 --- a/src/tests/ftest/io/ior_small.py +++ b/src/tests/ftest/io/ior_small.py @@ -2,24 +2,7 @@ """ (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. +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..9a3f5103d64 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. + 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 cf81feb17f5..35325bf7b55 100755 --- a/src/tests/ftest/io/llnl_mpi4py.py +++ b/src/tests/ftest/io/llnl_mpi4py.py @@ -2,24 +2,7 @@ """ (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. + 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 d18a365359e..b52fee548db 100755 --- a/src/tests/ftest/io/macsio_test.py +++ b/src/tests/ftest/io/macsio_test.py @@ -2,24 +2,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. + 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..33664130f6e 100755 --- a/src/tests/ftest/io/mdtest_large.py +++ b/src/tests/ftest/io/mdtest_large.py @@ -2,24 +2,7 @@ ''' (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. + 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 a89b1f79499..be571d35b92 100755 --- a/src/tests/ftest/io/mdtest_small.py +++ b/src/tests/ftest/io/mdtest_small.py @@ -2,24 +2,7 @@ ''' (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. + 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 be770666889..1dab6b183e6 100644 --- a/src/tests/ftest/io/parallel_io.py +++ b/src/tests/ftest/io/parallel_io.py @@ -2,24 +2,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. + 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 ea666a88a20..6fa479f07ae 100755 --- a/src/tests/ftest/io/romio.py +++ b/src/tests/ftest/io/romio.py @@ -2,24 +2,7 @@ ''' (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. + 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..83ecf1b2e31 100755 --- a/src/tests/ftest/io/seg_count.py +++ b/src/tests/ftest/io/seg_count.py @@ -2,24 +2,7 @@ """ (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. + 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..a5080643229 100644 --- a/src/tests/ftest/io/unaligned_io.py +++ b/src/tests/ftest/io/unaligned_io.py @@ -2,24 +2,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. + 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 f3bfedccd1e..6997d9f880a 100755 --- a/src/tests/ftest/launch.py +++ b/src/tests/ftest/launch.py @@ -2,24 +2,7 @@ """ (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. + 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..604f47a7bea 100755 --- a/src/tests/ftest/metrics.py +++ b/src/tests/ftest/metrics.py @@ -2,24 +2,7 @@ """ (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. + 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 a6a180eabed..1f6a4dec373 100755 --- a/src/tests/ftest/network/cart_self_test.py +++ b/src/tests/ftest/network/cart_self_test.py @@ -2,24 +2,7 @@ """ (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. + 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 73e7eee9f5c..11c7e738c9d 100644 --- a/src/tests/ftest/network/zero_config.py +++ b/src/tests/ftest/network/zero_config.py @@ -2,24 +2,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. + 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..416d65f4034 100644 --- a/src/tests/ftest/nvme/enospace.py +++ b/src/tests/ftest/nvme/enospace.py @@ -2,24 +2,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. + 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..defe11b4b77 100644 --- a/src/tests/ftest/nvme/nvme_fault.py +++ b/src/tests/ftest/nvme/nvme_fault.py @@ -2,24 +2,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. + 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..574d2865007 100644 --- a/src/tests/ftest/nvme/nvme_fragmentation.py +++ b/src/tests/ftest/nvme/nvme_fragmentation.py @@ -2,24 +2,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. + 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..a4790f937a8 100644 --- a/src/tests/ftest/nvme/nvme_health.py +++ b/src/tests/ftest/nvme/nvme_health.py @@ -2,24 +2,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. + 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..c068aac04d9 100755 --- a/src/tests/ftest/nvme/nvme_io.py +++ b/src/tests/ftest/nvme/nvme_io.py @@ -2,24 +2,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. + 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..91a4332c209 100755 --- a/src/tests/ftest/nvme/nvme_io_stats.py +++ b/src/tests/ftest/nvme/nvme_io_stats.py @@ -2,24 +2,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. + 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..06abd41763c 100755 --- a/src/tests/ftest/nvme/nvme_io_verification.py +++ b/src/tests/ftest/nvme/nvme_io_verification.py @@ -2,24 +2,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. + 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 ca6ef40aec6..3b97d7cbe01 100755 --- a/src/tests/ftest/nvme/nvme_object.py +++ b/src/tests/ftest/nvme/nvme_object.py @@ -2,24 +2,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. + 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..2c7663e3722 100644 --- a/src/tests/ftest/nvme/nvme_pool_capacity.py +++ b/src/tests/ftest/nvme/nvme_pool_capacity.py @@ -2,24 +2,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. + 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..efa54e0c4ef 100644 --- a/src/tests/ftest/nvme/nvme_pool_exclude.py +++ b/src/tests/ftest/nvme/nvme_pool_exclude.py @@ -2,24 +2,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. + 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 9141e765d25..d70484acb95 100644 --- a/src/tests/ftest/nvme/nvme_pool_extend.py +++ b/src/tests/ftest/nvme/nvme_pool_extend.py @@ -2,24 +2,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. + 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 96bf4a433a2..8823bc72741 100755 --- a/src/tests/ftest/object/array_obj_test.py +++ b/src/tests/ftest/object/array_obj_test.py @@ -2,24 +2,7 @@ ''' (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. + 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..9199782c1bd 100755 --- a/src/tests/ftest/object/create_many_dkeys.py +++ b/src/tests/ftest/object/create_many_dkeys.py @@ -2,24 +2,7 @@ ''' (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. + 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..badf0672284 100755 --- a/src/tests/ftest/object/obj_fetch_bad_param.py +++ b/src/tests/ftest/object/obj_fetch_bad_param.py @@ -2,24 +2,7 @@ ''' (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. + 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..b39bd4547f2 100755 --- a/src/tests/ftest/object/obj_open_bad_param.py +++ b/src/tests/ftest/object/obj_open_bad_param.py @@ -2,24 +2,7 @@ """ (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. + 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..ae312136297 100755 --- a/src/tests/ftest/object/obj_update_bad_param.py +++ b/src/tests/ftest/object/obj_update_bad_param.py @@ -2,24 +2,7 @@ ''' (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. + 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..f2b93740835 100755 --- a/src/tests/ftest/object/object_integrity.py +++ b/src/tests/ftest/object/object_integrity.py @@ -2,24 +2,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. + 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 d742b2b95ef..6e46abdbeec 100755 --- a/src/tests/ftest/object/punch_test.py +++ b/src/tests/ftest/object/punch_test.py @@ -2,24 +2,7 @@ ''' (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. + 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..b39e968f74e 100755 --- a/src/tests/ftest/object/same_key_different_value.py +++ b/src/tests/ftest/object/same_key_different_value.py @@ -2,24 +2,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. + 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 6fa74f66115..db9ae3cad62 100644 --- a/src/tests/ftest/osa/osa_offline_drain.py +++ b/src/tests/ftest/osa/osa_offline_drain.py @@ -2,24 +2,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. + 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 ae6283961bf..fa8d56b22a5 100644 --- a/src/tests/ftest/osa/osa_offline_extend.py +++ b/src/tests/ftest/osa/osa_offline_extend.py @@ -2,24 +2,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. + 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 3e86a6a9d86..c84f4ba4f55 100644 --- a/src/tests/ftest/osa/osa_offline_parallel_test.py +++ b/src/tests/ftest/osa/osa_offline_parallel_test.py @@ -2,24 +2,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. + 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 dc831ccc139..19c9192bf74 100755 --- a/src/tests/ftest/osa/osa_offline_reintegration.py +++ b/src/tests/ftest/osa/osa_offline_reintegration.py @@ -2,24 +2,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. + 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 9ffb18ee2c4..4640e71fec5 100644 --- a/src/tests/ftest/osa/osa_online_drain.py +++ b/src/tests/ftest/osa/osa_online_drain.py @@ -2,24 +2,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. + 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 ecd67174aa2..b5a74fc9139 100644 --- a/src/tests/ftest/osa/osa_online_extend.py +++ b/src/tests/ftest/osa/osa_online_extend.py @@ -2,24 +2,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. + 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 8e415d91f75..a6953e8132a 100644 --- a/src/tests/ftest/osa/osa_online_parallel_test.py +++ b/src/tests/ftest/osa/osa_online_parallel_test.py @@ -2,24 +2,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. + 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 b328d5cb783..255ce1d33ea 100644 --- a/src/tests/ftest/osa/osa_online_reintegration.py +++ b/src/tests/ftest/osa/osa_online_reintegration.py @@ -2,24 +2,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. + 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 7a62bbb428a..dabbeed9aaf 100755 --- a/src/tests/ftest/pool/attribute.py +++ b/src/tests/ftest/pool/attribute.py @@ -2,24 +2,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. + 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..ba9b3bd980b 100755 --- a/src/tests/ftest/pool/bad_connect.py +++ b/src/tests/ftest/pool/bad_connect.py @@ -2,24 +2,7 @@ ''' (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. + 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..b11a36fbd6c 100755 --- a/src/tests/ftest/pool/bad_create.py +++ b/src/tests/ftest/pool/bad_create.py @@ -2,24 +2,7 @@ ''' (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. + 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..6f624cb9380 100755 --- a/src/tests/ftest/pool/bad_evict.py +++ b/src/tests/ftest/pool/bad_evict.py @@ -2,24 +2,7 @@ ''' (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. + 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..e16351ae260 100755 --- a/src/tests/ftest/pool/bad_exclude.py +++ b/src/tests/ftest/pool/bad_exclude.py @@ -2,24 +2,7 @@ ''' (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. + 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..fcd292fbb9b 100755 --- a/src/tests/ftest/pool/bad_query.py +++ b/src/tests/ftest/pool/bad_query.py @@ -2,24 +2,7 @@ ''' (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. + 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 b28dcd0020e..c76dffc472f 100755 --- a/src/tests/ftest/pool/connect_test.py +++ b/src/tests/ftest/pool/connect_test.py @@ -2,24 +2,7 @@ ''' (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. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/create_test.py b/src/tests/ftest/pool/create_test.py index de87a0f2a76..a2b2e39b94a 100644 --- a/src/tests/ftest/pool/create_test.py +++ b/src/tests/ftest/pool/create_test.py @@ -2,24 +2,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. +SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/pool/destroy_rebuild.py b/src/tests/ftest/pool/destroy_rebuild.py index cb4bd459ec0..34db77bc4aa 100755 --- a/src/tests/ftest/pool/destroy_rebuild.py +++ b/src/tests/ftest/pool/destroy_rebuild.py @@ -2,24 +2,7 @@ ''' (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. + 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 5a6c70414dc..4306b3f01b4 100755 --- a/src/tests/ftest/pool/destroy_tests.py +++ b/src/tests/ftest/pool/destroy_tests.py @@ -2,24 +2,7 @@ """ (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. +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..1c801b36f21 100644 --- a/src/tests/ftest/pool/dynamic_server_pool.py +++ b/src/tests/ftest/pool/dynamic_server_pool.py @@ -2,24 +2,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. + 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 d332b622317..426abaa5393 100644 --- a/src/tests/ftest/pool/evict_test.py +++ b/src/tests/ftest/pool/evict_test.py @@ -2,24 +2,7 @@ """ (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. + 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 148593477af..b8da41692b7 100755 --- a/src/tests/ftest/pool/global_handle.py +++ b/src/tests/ftest/pool/global_handle.py @@ -2,24 +2,7 @@ ''' (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. + 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 06f257d2855..19271908eb8 100755 --- a/src/tests/ftest/pool/info_tests.py +++ b/src/tests/ftest/pool/info_tests.py @@ -2,24 +2,7 @@ """ (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. + 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..3a28884b403 100755 --- a/src/tests/ftest/pool/list_pools.py +++ b/src/tests/ftest/pool/list_pools.py @@ -2,24 +2,7 @@ """ (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. + 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..48f53361219 100755 --- a/src/tests/ftest/pool/multi_server_create_delete_test.py +++ b/src/tests/ftest/pool/multi_server_create_delete_test.py @@ -2,24 +2,7 @@ """ (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. + 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 502d57dff9f..70b72e7b2ca 100755 --- a/src/tests/ftest/pool/multiple_creates_test.py +++ b/src/tests/ftest/pool/multiple_creates_test.py @@ -2,24 +2,7 @@ ''' (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. + 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 ca7f70f8cb6..a10901f3d98 100755 --- a/src/tests/ftest/pool/permission.py +++ b/src/tests/ftest/pool/permission.py @@ -2,24 +2,7 @@ ''' (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. + 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 b2e7f3378a2..6d421a83aca 100755 --- a/src/tests/ftest/pool/pool_svc.py +++ b/src/tests/ftest/pool/pool_svc.py @@ -2,24 +2,7 @@ ''' (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. + 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..7781061d8cd 100644 --- a/src/tests/ftest/pool/query_attribute.py +++ b/src/tests/ftest/pool/query_attribute.py @@ -2,24 +2,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 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 d15cc8f047a..f3c1543a606 100755 --- a/src/tests/ftest/pool/rebuild_no_cap.py +++ b/src/tests/ftest/pool/rebuild_no_cap.py @@ -2,24 +2,7 @@ ''' (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. + 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 c465cb87a4d..5ef9a56b000 100755 --- a/src/tests/ftest/pool/rebuild_tests.py +++ b/src/tests/ftest/pool/rebuild_tests.py @@ -2,24 +2,7 @@ """ (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. + 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 d5e389ae31e..e8f0a5e1bcf 100755 --- a/src/tests/ftest/pool/rebuild_with_io.py +++ b/src/tests/ftest/pool/rebuild_with_io.py @@ -2,24 +2,7 @@ """ (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. + 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 9b3e7f48f40..3d5b0614cea 100755 --- a/src/tests/ftest/pool/rebuild_with_ior.py +++ b/src/tests/ftest/pool/rebuild_with_ior.py @@ -2,24 +2,7 @@ """ (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. + 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..96f994e75be 100755 --- a/src/tests/ftest/pool/simple_create_delete_test.py +++ b/src/tests/ftest/pool/simple_create_delete_test.py @@ -2,24 +2,7 @@ ''' (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. + 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..61fb250a2fd 100644 --- a/src/tests/ftest/pool/storage_ratio.py +++ b/src/tests/ftest/pool/storage_ratio.py @@ -2,24 +2,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. + 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 a2e3f7ded79..16b4d8ff460 100644 --- a/src/tests/ftest/rebuild/cascading_failures.py +++ b/src/tests/ftest/rebuild/cascading_failures.py @@ -2,24 +2,7 @@ """ (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. + 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 582021f673d..be08a228cb6 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. + 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..5e749ed0d97 100644 --- a/src/tests/ftest/rebuild/delete_objects.py +++ b/src/tests/ftest/rebuild/delete_objects.py @@ -2,24 +2,7 @@ """ (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. + 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..7e7f4a3ba7c 100644 --- a/src/tests/ftest/rebuild/io_conf_run.py +++ b/src/tests/ftest/rebuild/io_conf_run.py @@ -2,24 +2,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. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from daos_io_conf import IoConfTestBase from apricot import skipForTicket diff --git a/src/tests/ftest/rebuild/read_array.py b/src/tests/ftest/rebuild/read_array.py index 8c58d48dc55..37364e6248b 100755 --- a/src/tests/ftest/rebuild/read_array.py +++ b/src/tests/ftest/rebuild/read_array.py @@ -2,24 +2,7 @@ """ (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. + 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 ee170b47b43..6ea8484b1a1 100755 --- a/src/tests/ftest/security/cont_create_acl.py +++ b/src/tests/ftest/security/cont_create_acl.py @@ -2,24 +2,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. 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 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 e0ea281feec..7386d6f9845 100644 --- a/src/tests/ftest/security/cont_delete_acl.py +++ b/src/tests/ftest/security/cont_delete_acl.py @@ -2,24 +2,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. 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 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 9b85f245a2a..e1903ec419c 100644 --- a/src/tests/ftest/security/cont_get_acl.py +++ b/src/tests/ftest/security/cont_get_acl.py @@ -2,24 +2,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. 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 diff --git a/src/tests/ftest/security/cont_overwrite_acl.py b/src/tests/ftest/security/cont_overwrite_acl.py index 36d99fc0f1c..f148338f416 100644 --- a/src/tests/ftest/security/cont_overwrite_acl.py +++ b/src/tests/ftest/security/cont_overwrite_acl.py @@ -2,24 +2,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. 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 diff --git a/src/tests/ftest/security/cont_update_acl.py b/src/tests/ftest/security/cont_update_acl.py index a8059258adf..cbcbacf41b7 100644 --- a/src/tests/ftest/security/cont_update_acl.py +++ b/src/tests/ftest/security/cont_update_acl.py @@ -2,24 +2,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. 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 diff --git a/src/tests/ftest/security/container_security_acl.py b/src/tests/ftest/security/container_security_acl.py index 1175c9fd6ab..79c79f0be43 100755 --- a/src/tests/ftest/security/container_security_acl.py +++ b/src/tests/ftest/security/container_security_acl.py @@ -2,24 +2,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. 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 88a7b394490..2fb1ee4929e 100755 --- a/src/tests/ftest/security/pool_connect_init.py +++ b/src/tests/ftest/security/pool_connect_init.py @@ -2,24 +2,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. + 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..a801846ceab 100755 --- a/src/tests/ftest/security/pool_security_acl.py +++ b/src/tests/ftest/security/pool_security_acl.py @@ -2,24 +2,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. + 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..add8c56b303 100755 --- a/src/tests/ftest/security/pool_security_groups.py +++ b/src/tests/ftest/security/pool_security_groups.py @@ -2,24 +2,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. + 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..fe5cade852f 100644 --- a/src/tests/ftest/server/cpu_usage.py +++ b/src/tests/ftest/server/cpu_usage.py @@ -2,24 +2,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. + 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 882df39ef7e..6abfad321a1 100644 --- a/src/tests/ftest/server/daos_server_config.py +++ b/src/tests/ftest/server/daos_server_config.py @@ -2,24 +2,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. + 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 d38bd2f2005..4a6be4a6477 100644 --- a/src/tests/ftest/server/daos_server_restart.py +++ b/src/tests/ftest/server/daos_server_restart.py @@ -2,24 +2,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. + 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..c467f65ca3d 100644 --- a/src/tests/ftest/server/dynamic_start_stop.py +++ b/src/tests/ftest/server/dynamic_start_stop.py @@ -2,24 +2,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. + 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 ef49f15ef21..5dfbd794de5 100755 --- a/src/tests/ftest/server/metadata.py +++ b/src/tests/ftest/server/metadata.py @@ -2,24 +2,7 @@ """ (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. + 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..21b3317678d 100755 --- a/src/tests/ftest/slurm_setup.py +++ b/src/tests/ftest/slurm_setup.py @@ -2,24 +2,7 @@ """ (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. + 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..c3720c91947 100644 --- a/src/tests/ftest/soak/soak_faults.py +++ b/src/tests/ftest/soak/soak_faults.py @@ -2,24 +2,7 @@ """ (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. +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..f518ff6f7fc 100644 --- a/src/tests/ftest/soak/soak_harassers.py +++ b/src/tests/ftest/soak/soak_harassers.py @@ -2,24 +2,7 @@ """ (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. +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..6b61a38fec6 100644 --- a/src/tests/ftest/soak/soak_smoke.py +++ b/src/tests/ftest/soak/soak_smoke.py @@ -2,24 +2,7 @@ """ (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. +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..47382618fd4 100644 --- a/src/tests/ftest/soak/soak_stress_2h.py +++ b/src/tests/ftest/soak/soak_stress_2h.py @@ -2,24 +2,7 @@ """ (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. +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..0b84235078a 100644 --- a/src/tests/ftest/soak/soak_stress_48h.py +++ b/src/tests/ftest/soak/soak_stress_48h.py @@ -2,24 +2,7 @@ """ (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. +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 47deab45842..646c7477392 100644 --- a/src/tests/ftest/soak/soak_test_base.py +++ b/src/tests/ftest/soak/soak_test_base.py @@ -2,24 +2,7 @@ """ (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. +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 307e6fb2f6f..956f8498556 100644 --- a/src/tests/ftest/soak/soak_utils.py +++ b/src/tests/ftest/soak/soak_utils.py @@ -2,24 +2,7 @@ """ (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. +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..2ae46e82695 100755 --- a/src/tests/ftest/unittest/unittest.py +++ b/src/tests/ftest/unittest/unittest.py @@ -2,24 +2,7 @@ ''' (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. + 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..e63b250817e 100755 --- a/src/tests/ftest/util/agent_utils.py +++ b/src/tests/ftest/util/agent_utils.py @@ -2,24 +2,7 @@ """ (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. + 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..1f061eb0276 100644 --- a/src/tests/ftest/util/agent_utils_params.py +++ b/src/tests/ftest/util/agent_utils_params.py @@ -2,24 +2,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. + 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 48efbae683c..b6912df5b2c 100644 --- a/src/tests/ftest/util/apricot/apricot/test.py +++ b/src/tests/ftest/util/apricot/apricot/test.py @@ -2,24 +2,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. + 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..6c87838d3f6 100644 --- a/src/tests/ftest/util/check_for_pool.py +++ b/src/tests/ftest/util/check_for_pool.py @@ -2,24 +2,7 @@ """ (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. + 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..5ef2e9e15c9 100644 --- a/src/tests/ftest/util/command_utils.py +++ b/src/tests/ftest/util/command_utils.py @@ -2,24 +2,7 @@ """ (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. + 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..c7c32d5adbb 100644 --- a/src/tests/ftest/util/command_utils_base.py +++ b/src/tests/ftest/util/command_utils_base.py @@ -2,24 +2,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. + 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..bd1f61595f2 100644 --- a/src/tests/ftest/util/configuration_utils.py +++ b/src/tests/ftest/util/configuration_utils.py @@ -2,24 +2,7 @@ """ (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. + 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 1aabd1ec34b..5b5167c685e 100755 --- a/src/tests/ftest/util/cont_security_test_base.py +++ b/src/tests/ftest/util/cont_security_test_base.py @@ -2,24 +2,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. 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 diff --git a/src/tests/ftest/util/control_test_base.py b/src/tests/ftest/util/control_test_base.py index ac709a743e1..4a51d1b05bc 100644 --- a/src/tests/ftest/util/control_test_base.py +++ b/src/tests/ftest/util/control_test_base.py @@ -2,24 +2,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. + 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..a4b257c66c8 100644 --- a/src/tests/ftest/util/daos_core_base.py +++ b/src/tests/ftest/util/daos_core_base.py @@ -2,24 +2,7 @@ """ (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. + 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..cef5a8d8732 100644 --- a/src/tests/ftest/util/daos_io_conf.py +++ b/src/tests/ftest/util/daos_io_conf.py @@ -2,24 +2,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. + 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..4a66a882127 100644 --- a/src/tests/ftest/util/daos_perf_base.py +++ b/src/tests/ftest/util/daos_perf_base.py @@ -2,24 +2,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. + 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..5ef8687dbfc 100644 --- a/src/tests/ftest/util/daos_perf_utils.py +++ b/src/tests/ftest/util/daos_perf_utils.py @@ -2,24 +2,7 @@ """ (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. + 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..40e1a4005f7 100644 --- a/src/tests/ftest/util/daos_racer_utils.py +++ b/src/tests/ftest/util/daos_racer_utils.py @@ -2,24 +2,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. + 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..4db5cb91fea 100644 --- a/src/tests/ftest/util/daos_utils.py +++ b/src/tests/ftest/util/daos_utils.py @@ -2,24 +2,7 @@ """ (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. + 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..a2b61ab53cf 100644 --- a/src/tests/ftest/util/daos_utils_base.py +++ b/src/tests/ftest/util/daos_utils_base.py @@ -2,24 +2,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. + 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 7bb7e8f9ae9..7a8a66ba614 100644 --- a/src/tests/ftest/util/data_mover_test_base.py +++ b/src/tests/ftest/util/data_mover_test_base.py @@ -2,24 +2,7 @@ """ (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. +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 c461a60a2d9..c2a6ae9ab33 100644 --- a/src/tests/ftest/util/data_mover_utils.py +++ b/src/tests/ftest/util/data_mover_utils.py @@ -2,24 +2,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. + 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..39d8af6b07b 100644 --- a/src/tests/ftest/util/dfuse_test_base.py +++ b/src/tests/ftest/util/dfuse_test_base.py @@ -2,24 +2,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. +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 b33e3a5ea6b..c050c2b1dae 100644 --- a/src/tests/ftest/util/dfuse_utils.py +++ b/src/tests/ftest/util/dfuse_utils.py @@ -2,24 +2,7 @@ """ (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. + 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 9d8760cd2c5..b3e2be09970 100644 --- a/src/tests/ftest/util/dmg_utils.py +++ b/src/tests/ftest/util/dmg_utils.py @@ -2,24 +2,7 @@ """ (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. + 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 b53313812d5..e75f9891791 100644 --- a/src/tests/ftest/util/dmg_utils_base.py +++ b/src/tests/ftest/util/dmg_utils_base.py @@ -2,24 +2,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. + 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..02e8f37b610 100644 --- a/src/tests/ftest/util/dmg_utils_params.py +++ b/src/tests/ftest/util/dmg_utils_params.py @@ -2,24 +2,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. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from command_utils_base import \ diff --git a/src/tests/ftest/util/fault_config_utils.py b/src/tests/ftest/util/fault_config_utils.py index c1a12039421..b29cc58f423 100755 --- a/src/tests/ftest/util/fault_config_utils.py +++ b/src/tests/ftest/util/fault_config_utils.py @@ -2,24 +2,7 @@ ''' (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. + 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..8451f82c368 100755 --- a/src/tests/ftest/util/fio_test_base.py +++ b/src/tests/ftest/util/fio_test_base.py @@ -2,24 +2,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. + 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..5c3704ffde9 100644 --- a/src/tests/ftest/util/fio_utils.py +++ b/src/tests/ftest/util/fio_utils.py @@ -2,24 +2,7 @@ """ (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. + 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 85568fb3da7..bfe01002093 100644 --- a/src/tests/ftest/util/general_utils.py +++ b/src/tests/ftest/util/general_utils.py @@ -2,24 +2,7 @@ """ (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. + 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..a061c0d1d94 100644 --- a/src/tests/ftest/util/get_hosts_from_file.py +++ b/src/tests/ftest/util/get_hosts_from_file.py @@ -2,24 +2,7 @@ ''' (C) Copyright 2018 Intel Corporation. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided 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 60a895e684a..1c760f231ef 100644 --- a/src/tests/ftest/util/io_utilities.py +++ b/src/tests/ftest/util/io_utilities.py @@ -2,24 +2,7 @@ ''' (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. + 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..d518fc13975 100644 --- a/src/tests/ftest/util/ior_test_base.py +++ b/src/tests/ftest/util/ior_test_base.py @@ -2,24 +2,7 @@ """ (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. +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 880831cc260..0e6c007d288 100644 --- a/src/tests/ftest/util/ior_utils.py +++ b/src/tests/ftest/util/ior_utils.py @@ -2,24 +2,7 @@ """ (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. +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..a163891654d 100644 --- a/src/tests/ftest/util/job_manager_utils.py +++ b/src/tests/ftest/util/job_manager_utils.py @@ -2,24 +2,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. + 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..f9b4c30db26 100644 --- a/src/tests/ftest/util/logger_utils.py +++ b/src/tests/ftest/util/logger_utils.py @@ -2,24 +2,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. + 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..7dbd37dfd85 100644 --- a/src/tests/ftest/util/macsio_test_base.py +++ b/src/tests/ftest/util/macsio_test_base.py @@ -2,24 +2,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. + 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..9591578e789 100644 --- a/src/tests/ftest/util/macsio_util.py +++ b/src/tests/ftest/util/macsio_util.py @@ -2,24 +2,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. + 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..8246c1e03cc 100755 --- a/src/tests/ftest/util/mdtest_test_base.py +++ b/src/tests/ftest/util/mdtest_test_base.py @@ -2,24 +2,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. + 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 e5b16c90e84..9221f249fdf 100644 --- a/src/tests/ftest/util/mdtest_utils.py +++ b/src/tests/ftest/util/mdtest_utils.py @@ -2,24 +2,7 @@ """ (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. + 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 cacb39e0500..71b5ff3dbe7 100644 --- a/src/tests/ftest/util/mpio_utils.py +++ b/src/tests/ftest/util/mpio_utils.py @@ -2,24 +2,7 @@ """ (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. + 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 5bbe6b6acb6..60a7a9fcf1d 100644 --- a/src/tests/ftest/util/nvme_utils.py +++ b/src/tests/ftest/util/nvme_utils.py @@ -2,24 +2,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. + 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..a872d14f4af 100644 --- a/src/tests/ftest/util/osa_utils.py +++ b/src/tests/ftest/util/osa_utils.py @@ -2,24 +2,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. + 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..98cf723c62a 100755 --- a/src/tests/ftest/util/pool_security_test_base.py +++ b/src/tests/ftest/util/pool_security_test_base.py @@ -2,24 +2,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. + 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 cfcac2dbb83..be794bd410a 100644 --- a/src/tests/ftest/util/pool_test_base.py +++ b/src/tests/ftest/util/pool_test_base.py @@ -2,24 +2,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. +SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers diff --git a/src/tests/ftest/util/rebuild_test_base.py b/src/tests/ftest/util/rebuild_test_base.py index 81a7f389f0f..692c1273b21 100644 --- a/src/tests/ftest/util/rebuild_test_base.py +++ b/src/tests/ftest/util/rebuild_test_base.py @@ -2,24 +2,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. + 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..8a8e7188caa 100644 --- a/src/tests/ftest/util/security_test_base.py +++ b/src/tests/ftest/util/security_test_base.py @@ -2,24 +2,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. 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 diff --git a/src/tests/ftest/util/server_utils.py b/src/tests/ftest/util/server_utils.py index 4fd206b493d..da422d5fe00 100644 --- a/src/tests/ftest/util/server_utils.py +++ b/src/tests/ftest/util/server_utils.py @@ -2,24 +2,7 @@ """ (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. + 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..43fd9342161 100644 --- a/src/tests/ftest/util/server_utils_params.py +++ b/src/tests/ftest/util/server_utils_params.py @@ -2,24 +2,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. + 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..c4c2bb4ecff 100644 --- a/src/tests/ftest/util/slurm_utils.py +++ b/src/tests/ftest/util/slurm_utils.py @@ -2,24 +2,7 @@ """ (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. +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..e2a11dc0e5f 100644 --- a/src/tests/ftest/util/test_utils_base.py +++ b/src/tests/ftest/util/test_utils_base.py @@ -2,24 +2,7 @@ """ (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. + 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 361383086bb..da0ff0f6b09 100644 --- a/src/tests/ftest/util/test_utils_container.py +++ b/src/tests/ftest/util/test_utils_container.py @@ -2,24 +2,7 @@ """ (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. + 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 60b638a08b3..783efa71204 100644 --- a/src/tests/ftest/util/test_utils_pool.py +++ b/src/tests/ftest/util/test_utils_pool.py @@ -2,24 +2,7 @@ """ (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. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os from time import sleep diff --git a/src/tests/ftest/util/vol_test_base.py b/src/tests/ftest/util/vol_test_base.py index 28e9d3c4431..8af57e1a9b2 100644 --- a/src/tests/ftest/util/vol_test_base.py +++ b/src/tests/ftest/util/vol_test_base.py @@ -2,24 +2,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. +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..522f8f33ff9 100644 --- a/src/tests/ftest/util/write_host_file.py +++ b/src/tests/ftest/util/write_host_file.py @@ -2,24 +2,7 @@ """ (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. + 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..6aa6ed78281 100755 --- a/src/tests/ftest/util/write_some_data.py +++ b/src/tests/ftest/util/write_some_data.py @@ -2,24 +2,7 @@ ''' (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. + 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 0fcbc1e49fa..3d00b1accce 100644 --- a/src/tests/jobtest.c +++ b/src/tests/jobtest.c @@ -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. 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..bd9559686bc 100644 --- a/src/tests/obj_ctl.c +++ b/src/tests/obj_ctl.c @@ -1,24 +1,7 @@ /** * (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. + * 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..3b92749246c 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..86dcc0dcff0 100644 --- a/src/tests/security/security_test.c +++ b/src/tests/security/security_test.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2018 Intel Corporation. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 82504f8fb9a..d859e5de25c 100644 --- a/src/tests/simple_array.c +++ b/src/tests/simple_array.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 8b59cb65875..e527adddf5f 100644 --- a/src/tests/simple_obj.c +++ b/src/tests/simple_obj.c @@ -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. + * 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 3b81a984af3..af3fb926d19 100644 --- a/src/tests/suite/daos_aggregate_ec.c +++ b/src/tests/suite/daos_aggregate_ec.c @@ -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. + * 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..d11c194d2ed 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..e3e1e0a9aa4 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 d78105ca282..395972dfd53 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 440cfa47ccf..87e1c4fb317 100644 --- a/src/tests/suite/daos_checksum.c +++ b/src/tests/suite/daos_checksum.c @@ -1,24 +1,7 @@ /** * (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. + * 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..db9479d8880 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..bbba7607882 100644 --- a/src/tests/suite/daos_dedup.c +++ b/src/tests/suite/daos_dedup.c @@ -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. + * 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 dd061127e2e..1c87ba1bff8 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 9f1096a1f4e..1dcfbbc5a71 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..c6c4f05c062 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..6f63bdcb384 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..c3dc2f17a30 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 951d3ddbaef..d5da108fc11 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 e352c800d62..1f279403f7c 100644 --- a/src/tests/suite/daos_epoch_recovery.c +++ b/src/tests/suite/daos_epoch_recovery.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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..4c26eba716d 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..76ecdd8d2c0 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 f92614b0adb..c49596b6c6a 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..630c142a0b9 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 0bfa31d78e7..a386df34aca 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 dc99d223803..1b50a99b427 100644 --- a/src/tests/suite/daos_obj.c +++ b/src/tests/suite/daos_obj.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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..dc23b38eff1 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 b22f043d5ec..1aea5e53cc2 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 72d271b0278..dd677ea9750 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 b3d4341cf6d..4e303f82bf8 100644 --- a/src/tests/suite/daos_rebuild.c +++ b/src/tests/suite/daos_rebuild.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 aca79031218..a0af787f5e1 100644 --- a/src/tests/suite/daos_rebuild_common.c +++ b/src/tests/suite/daos_rebuild_common.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 9ae91bfcd46..7b991b782d0 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 1f2db43e294..f716f020bea 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..66d241dfafe 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 379160f7a1e..8a01ab33e69 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 2520a64236f..6132430e056 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..13515ac1fc9 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..dd324b92116 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..48e0d6daf08 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..c653b1529af 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 580238fe39c..0d2a82f41ca 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..800e7862f56 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..a6ab5004eaf 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..ec3cc3040aa 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 ed1a52e138d..7878336daf8 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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 2b87aaf450e..7db83e840dc 100644 --- a/src/utils/daos.c +++ b/src/utils/daos.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 a9b14225365..8ac9b46d4d3 100644 --- a/src/utils/daos_autotest.c +++ b/src/utils/daos_autotest.c @@ -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. 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 591ac21a534..558b8842302 100644 --- a/src/utils/daos_hdlr.c +++ b/src/utils/daos_hdlr.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 399718e13df..0fb00a9fca3 100644 --- a/src/utils/daos_hdlr.h +++ b/src/utils/daos_hdlr.h @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. 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 cont_op { diff --git a/src/utils/self_test/self_test.c b/src/utils/self_test/self_test.c index 92c1744f642..e13d1500249 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to 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..e93761372f6 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 1dcf5c310a9..dc928012c9a 100644 --- a/src/vea/vea_alloc.c +++ b/src/vea/vea_alloc.c @@ -1,24 +1,7 @@ /** * (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. 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 002e86ee419..14118defd55 100644 --- a/src/vea/vea_api.c +++ b/src/vea/vea_api.c @@ -1,24 +1,7 @@ /** * (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. 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 e91b204443b..db7d6f312cc 100644 --- a/src/vea/vea_free.c +++ b/src/vea/vea_free.c @@ -1,24 +1,7 @@ /** * (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. 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..9ac39c298cc 100644 --- a/src/vea/vea_hint.c +++ b/src/vea/vea_hint.c @@ -1,24 +1,7 @@ /** * (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. 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 bf35da5d094..d791aee7e59 100644 --- a/src/vea/vea_init.c +++ b/src/vea/vea_init.c @@ -1,24 +1,7 @@ /** * (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. 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..c8aee2f7031 100644 --- a/src/vea/vea_internal.h +++ b/src/vea/vea_internal.h @@ -1,24 +1,7 @@ /** * (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. 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 0a0eea95ef3..b9f3a825f7c 100644 --- a/src/vea/vea_util.c +++ b/src/vea/vea_util.c @@ -1,24 +1,7 @@ /** * (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. 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..3da9d08cc07 100644 --- a/src/vos/evt_iter.c +++ b/src/vos/evt_iter.c @@ -1,24 +1,7 @@ /** * (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. + * 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..3b49cd7aebb 100644 --- a/src/vos/evt_priv.h +++ b/src/vos/evt_priv.h @@ -1,24 +1,7 @@ /** * (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. + * 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..0a11e960339 100644 --- a/src/vos/evtree.c +++ b/src/vos/evtree.c @@ -1,24 +1,7 @@ /** * (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. + * 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 9c707633965..5dadea6f040 100644 --- a/src/vos/ilog.c +++ b/src/vos/ilog.c @@ -1,24 +1,7 @@ /** * (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. + * 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..d33699f65f7 100644 --- a/src/vos/ilog.h +++ b/src/vos/ilog.h @@ -1,24 +1,7 @@ /** * (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. + * 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..7f71aebd69d 100644 --- a/src/vos/lru_array.c +++ b/src/vos/lru_array.c @@ -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. + * 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..eeb5cd8762b 100644 --- a/src/vos/lru_array.h +++ b/src/vos/lru_array.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. + * 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 8558986e8f9..1237cefd006 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..71413a7c6ad 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 d3f162218bb..18f12e83810 100644 --- a/src/vos/tests/vts_aggregate.c +++ b/src/vos/tests/vts_aggregate.c @@ -1,24 +1,7 @@ /** * (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. + * 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..77415eddb86 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..bc85b0226c7 100644 --- a/src/vos/tests/vts_array.h +++ b/src/vos/tests/vts_array.h @@ -1,24 +1,7 @@ /** * (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. + * 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..62775ef6350 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..7bf80880d44 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..cc63265e7d2 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..70344c0a074 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 7033fb6d3e9..d9bc05c1802 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 476786b44bc..ce31f147c7d 100644 --- a/src/vos/tests/vts_gc.c +++ b/src/vos/tests/vts_gc.c @@ -1,24 +1,7 @@ /** * (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. + * 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 f59d810841b..306b00a28d7 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 1f9e230f000..9732767c057 100644 --- a/src/vos/tests/vts_io.c +++ b/src/vos/tests/vts_io.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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..132819cb3a6 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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..e7e95973382 100644 --- a/src/vos/tests/vts_mvcc.c +++ b/src/vos/tests/vts_mvcc.c @@ -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. + * 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 4a497fa5a8a..29b4b30e320 100644 --- a/src/vos/tests/vts_pm.c +++ b/src/vos/tests/vts_pm.c @@ -1,24 +1,7 @@ /** * (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. + * 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 302a2ddcee9..83f2df66c05 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 23aa9a4448e..03fc8be5923 100644 --- a/src/vos/tests/vts_ts.c +++ b/src/vos/tests/vts_ts.c @@ -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. + * 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 e1cd05b3746..fbbf8cc606e 100644 --- a/src/vos/vos_aggregate.c +++ b/src/vos/vos_aggregate.c @@ -1,24 +1,7 @@ /** * (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. + * 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..68a6d8daf7e 100644 --- a/src/vos/vos_common.c +++ b/src/vos/vos_common.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 77041d63e9d..4dc12b1ae54 100644 --- a/src/vos/vos_container.c +++ b/src/vos/vos_container.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 6e6640e4e2b..678d24f5ebb 100644 --- a/src/vos/vos_dtx.c +++ b/src/vos/vos_dtx.c @@ -1,24 +1,7 @@ /** * (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. + * 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 fc95f29ba31..437ccf2fc3a 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 0adb29eeb70..44764f0d8af 100644 --- a/src/vos/vos_gc.c +++ b/src/vos/vos_gc.c @@ -1,24 +1,7 @@ /** * (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. + * 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 3930783ce2f..eb66b98d2bf 100644 --- a/src/vos/vos_ilog.c +++ b/src/vos/vos_ilog.c @@ -1,24 +1,7 @@ /** * (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. + * 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..cc51243f5b7 100644 --- a/src/vos/vos_ilog.h +++ b/src/vos/vos_ilog.h @@ -1,24 +1,7 @@ /** * (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. + * 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 0ce3895ace9..70b8d20302a 100644 --- a/src/vos/vos_internal.h +++ b/src/vos/vos_internal.h @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 eddafef75de..3ac5d635882 100644 --- a/src/vos/vos_io.c +++ b/src/vos/vos_io.c @@ -1,24 +1,7 @@ /** * (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. + * 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 9f215b5e333..b5b7b29d31e 100644 --- a/src/vos/vos_iterator.c +++ b/src/vos/vos_iterator.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 8c2c5d851e5..8cbbe31dbec 100644 --- a/src/vos/vos_layout.h +++ b/src/vos/vos_layout.h @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 a1ed5f9a119..60db5d7fb4a 100644 --- a/src/vos/vos_obj.c +++ b/src/vos/vos_obj.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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..25c1200aa42 100644 --- a/src/vos/vos_obj.h +++ b/src/vos/vos_obj.h @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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..cd509cc421f 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 a254fbb4d02..2260cf31ae8 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. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided 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 e47e17814b7..3c15f7bc398 100644 --- a/src/vos/vos_pool.c +++ b/src/vos/vos_pool.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 6cd61ee4d23..dc593dd5536 100644 --- a/src/vos/vos_query.c +++ b/src/vos/vos_query.c @@ -1,24 +1,7 @@ /** * (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. + * 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..b35eb6adc75 100644 --- a/src/vos/vos_size.c +++ b/src/vos/vos_size.c @@ -1,24 +1,7 @@ /** * (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. + * 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..bd3401c187f 100644 --- a/src/vos/vos_space.c +++ b/src/vos/vos_space.c @@ -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. + * 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..073a7281f79 100644 --- a/src/vos/vos_tls.h +++ b/src/vos/vos_tls.h @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 72bcf963128..5142e642c9c 100644 --- a/src/vos/vos_tree.c +++ b/src/vos/vos_tree.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-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. + * 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 a35a5a47b34..939de2317d3 100644 --- a/src/vos/vos_ts.c +++ b/src/vos/vos_ts.c @@ -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. + * 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 da716eda702..4f0cd7b9d62 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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Record timestamp table From f6cdd20c9f06887fae25e8e28c59bfd2a151709d Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Wed, 20 Jan 2021 20:43:01 +0000 Subject: [PATCH 02/20] DAOS-6338 DAOS:Change DAOS license text Updated DAOS top LICENSE file to match description in https://spdx.org/licenses/BSD-2-Clause-Patent.html Change-Id: I193d224ca52ee8d45b3092c4d5cedae83a382002 Signed-off-by: Hua Kuang --- LICENSE | 181 ++++---------------------------------------------------- 1 file changed, 10 insertions(+), 171 deletions(-) diff --git a/LICENSE b/LICENSE index d9a10c0d8e8..4e55f5602a2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,176 +1,15 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +Copyright (c) 2021 Intel Corporation. - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - 1. Definitions. +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: - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +(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. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +DISCLAIMER - "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 +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. From 5e2aaf72eaa3bae9504d34380456e71100f62d5c Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Thu, 21 Jan 2021 18:41:41 +0000 Subject: [PATCH 03/20] DAOS-6338 DAOS:Change DAOS license text Apply Copyright year change to .py files Skip-build: true Skip-test: true Change-Id: I55effb3fd6f177cd7e128524ca20ecac1d57b015 Signed-off-by: Hua Kuang --- LICENSE | 2 +- .../ftest/aggregation/aggregation_basic.py | 23 +++++++++++++++--- .../ftest/aggregation/aggregation_checksum.py | 21 ++++++++++++++-- .../ftest/aggregation/aggregation_io_small.py | 23 +++++++++++++++--- .../ftest/aggregation/aggregation_punching.py | 23 +++++++++++++++--- .../aggregation/aggregation_throttling.py | 23 +++++++++++++++--- .../ftest/aggregation/dfuse_space_check.py | 23 +++++++++++++++--- src/tests/ftest/avocado_tests.py | 23 +++++++++++++++--- .../ftest/cart/corpc/cart_corpc_five_node.py | 23 +++++++++++++++--- .../ftest/cart/corpc/cart_corpc_one_node.py | 23 +++++++++++++++--- .../ftest/cart/corpc/cart_corpc_two_node.py | 23 +++++++++++++++--- .../ftest/cart/ctl/cart_ctl_five_node.py | 23 +++++++++++++++--- src/tests/ftest/cart/ctl/cart_ctl_one_node.py | 23 +++++++++++++++--- .../cart_ghost_rank_prc_one_node.py | 23 +++++++++++++++--- src/tests/ftest/cart/group_test/group_test.py | 23 +++++++++++++++--- src/tests/ftest/cart/iv/cart_iv_one_node.py | 23 +++++++++++++++--- src/tests/ftest/cart/iv/cart_iv_two_node.py | 23 +++++++++++++++--- .../no_pmix/cart_nopmix_multictx_one_node.py | 23 +++++++++++++++--- .../cart_nopmix_launcher_one_node.py | 21 ++++++++++++++-- src/tests/ftest/cart/rpc/cart_rpc_one_node.py | 23 +++++++++++++++--- src/tests/ftest/cart/rpc/cart_rpc_two_node.py | 23 +++++++++++++++--- .../cart/selftest/cart_selftest_three_node.py | 21 ++++++++++++++-- src/tests/ftest/cart/util/cart_utils.py | 23 +++++++++++++++--- src/tests/ftest/checksum/basic_checksum.py | 21 ++++++++++++++-- .../ftest/checksum/csum_error_logging.py | 21 ++++++++++++++-- src/tests/ftest/config_file_gen.py | 23 +++++++++++++++--- src/tests/ftest/container/attribute.py | 23 +++++++++++++++--- src/tests/ftest/container/basic_snapshot.py | 23 +++++++++++++++--- src/tests/ftest/container/basic_tx_test.py | 23 +++++++++++++++--- src/tests/ftest/container/container_async.py | 23 +++++++++++++++--- src/tests/ftest/container/container_check.py | 21 ++++++++++++++-- src/tests/ftest/container/create.py | 23 +++++++++++++++--- src/tests/ftest/container/delete.py | 23 +++++++++++++++--- .../container/full_pool_container_create.py | 21 ++++++++++++++-- src/tests/ftest/container/global_handle.py | 23 +++++++++++++++--- src/tests/ftest/container/list_containers.py | 23 +++++++++++++++--- .../container/multiple_container_delete.py | 23 +++++++++++++++--- src/tests/ftest/container/open.py | 23 +++++++++++++++--- src/tests/ftest/container/open_close.py | 21 ++++++++++++++-- src/tests/ftest/container/query_attribute.py | 23 +++++++++++++++--- .../ftest/container/root_container_test.py | 23 +++++++++++++++--- .../container/simple_create_delete_test.py | 21 ++++++++++++++-- src/tests/ftest/container/snapshot.py | 23 +++++++++++++++--- .../ftest/container/snapshot_aggregation.py | 23 +++++++++++++++--- .../ftest/control/daos_admin_privileged.py | 23 +++++++++++++++--- src/tests/ftest/control/daos_agent_config.py | 21 ++++++++++++++-- .../ftest/control/daos_control_config.py | 21 ++++++++++++++-- src/tests/ftest/control/daos_object_query.py | 23 +++++++++++++++--- src/tests/ftest/control/daos_scm_config.py | 21 ++++++++++++++-- src/tests/ftest/control/daos_snapshot.py | 23 +++++++++++++++--- src/tests/ftest/control/dmg_network_scan.py | 23 +++++++++++++++--- src/tests/ftest/control/dmg_nvme_scan_test.py | 21 ++++++++++++++-- src/tests/ftest/control/dmg_pool_evict.py | 21 ++++++++++++++-- .../ftest/control/dmg_pool_query_test.py | 23 +++++++++++++++--- src/tests/ftest/control/dmg_storage_query.py | 23 +++++++++++++++--- .../ftest/control/dmg_storage_scan_scm.py | 21 ++++++++++++++-- .../ftest/control/dmg_system_reformat.py | 23 +++++++++++++++--- src/tests/ftest/control/ssd_socket.py | 23 +++++++++++++++--- .../ftest/control/super_block_versioning.py | 23 +++++++++++++++--- .../daos_test/daos_core_test-nvme_recovery.py | 23 +++++++++++++++--- .../ftest/daos_test/daos_core_test-rebuild.py | 23 +++++++++++++++--- src/tests/ftest/daos_test/daos_core_test.py | 23 +++++++++++++++--- .../ftest/daos_test/daos_core_test_dfs.py | 23 +++++++++++++++--- src/tests/ftest/datamover/container_copy.py | 18 ++++++++++++-- src/tests/ftest/datamover/copy_basics.py | 23 +++++++++++++++--- src/tests/ftest/datamover/copy_negative.py | 23 +++++++++++++++--- src/tests/ftest/datamover/copy_procs.py | 21 ++++++++++++++-- src/tests/ftest/erasurecode/ec_ior_smoke.py | 21 ++++++++++++++-- .../ftest/erasurecode/ec_mdtest_smoke.py | 21 ++++++++++++++-- src/tests/ftest/io/crash_ior.py | 21 ++++++++++++++-- src/tests/ftest/io/daos_perf.py | 23 +++++++++++++++--- src/tests/ftest/io/daos_perf_large.py | 23 +++++++++++++++--- src/tests/ftest/io/daos_racer.py | 23 +++++++++++++++--- src/tests/ftest/io/daos_vol.py | 21 ++++++++++++++-- src/tests/ftest/io/dfuse_bash_cmd.py | 21 ++++++++++++++-- src/tests/ftest/io/dfuse_sparse_file.py | 23 +++++++++++++++--- src/tests/ftest/io/fio_small.py | 23 +++++++++++++++--- src/tests/ftest/io/hdf5.py | 21 ++++++++++++++-- src/tests/ftest/io/io_aggregation.py | 23 +++++++++++++++--- src/tests/ftest/io/io_consistency.py | 18 ++++++++++++-- src/tests/ftest/io/ior_hdf5.py | 21 ++++++++++++++-- src/tests/ftest/io/ior_intercept_basic.py | 21 ++++++++++++++-- src/tests/ftest/io/ior_intercept_dfuse_mix.py | 23 +++++++++++++++--- .../ftest/io/ior_intercept_multi_client.py | 21 ++++++++++++++-- .../io/ior_intercept_verify_data_integrity.py | 21 ++++++++++++++-- src/tests/ftest/io/ior_large.py | 23 +++++++++++++++--- src/tests/ftest/io/ior_small.py | 21 ++++++++++++++-- src/tests/ftest/io/large_file_count.py | 18 ++++++++++++-- src/tests/ftest/io/llnl_mpi4py.py | 21 ++++++++++++++-- src/tests/ftest/io/macsio_test.py | 23 +++++++++++++++--- src/tests/ftest/io/mdtest_large.py | 21 ++++++++++++++-- src/tests/ftest/io/mdtest_small.py | 21 ++++++++++++++-- src/tests/ftest/io/parallel_io.py | 23 +++++++++++++++--- src/tests/ftest/io/romio.py | 21 ++++++++++++++-- src/tests/ftest/io/seg_count.py | 21 ++++++++++++++-- src/tests/ftest/io/unaligned_io.py | 21 ++++++++++++++-- src/tests/ftest/launch.py | 23 +++++++++++++++--- src/tests/ftest/metrics.py | 23 +++++++++++++++--- src/tests/ftest/network/cart_self_test.py | 23 +++++++++++++++--- src/tests/ftest/network/zero_config.py | 23 +++++++++++++++--- src/tests/ftest/nvme/enospace.py | 23 +++++++++++++++--- src/tests/ftest/nvme/nvme_fault.py | 21 ++++++++++++++-- src/tests/ftest/nvme/nvme_fragmentation.py | 23 +++++++++++++++--- src/tests/ftest/nvme/nvme_health.py | 21 ++++++++++++++-- src/tests/ftest/nvme/nvme_io.py | 23 +++++++++++++++--- src/tests/ftest/nvme/nvme_io_stats.py | 21 ++++++++++++++-- src/tests/ftest/nvme/nvme_io_verification.py | 23 +++++++++++++++--- src/tests/ftest/nvme/nvme_object.py | 23 +++++++++++++++--- src/tests/ftest/nvme/nvme_pool_capacity.py | 21 ++++++++++++++-- src/tests/ftest/nvme/nvme_pool_exclude.py | 21 ++++++++++++++-- src/tests/ftest/nvme/nvme_pool_extend.py | 23 +++++++++++++++--- src/tests/ftest/object/array_obj_test.py | 23 +++++++++++++++--- src/tests/ftest/object/create_many_dkeys.py | 23 +++++++++++++++--- src/tests/ftest/object/obj_fetch_bad_param.py | 23 +++++++++++++++--- src/tests/ftest/object/obj_open_bad_param.py | 23 +++++++++++++++--- .../ftest/object/obj_update_bad_param.py | 23 +++++++++++++++--- src/tests/ftest/object/object_integrity.py | 21 ++++++++++++++-- src/tests/ftest/object/punch_test.py | 23 +++++++++++++++--- .../ftest/object/same_key_different_value.py | 23 +++++++++++++++--- src/tests/ftest/osa/osa_offline_drain.py | 23 +++++++++++++++--- src/tests/ftest/osa/osa_offline_extend.py | 23 +++++++++++++++--- .../ftest/osa/osa_offline_parallel_test.py | 23 +++++++++++++++--- .../ftest/osa/osa_offline_reintegration.py | 23 +++++++++++++++--- src/tests/ftest/osa/osa_online_drain.py | 21 ++++++++++++++-- src/tests/ftest/osa/osa_online_extend.py | 23 +++++++++++++++--- .../ftest/osa/osa_online_parallel_test.py | 23 +++++++++++++++--- .../ftest/osa/osa_online_reintegration.py | 23 +++++++++++++++--- src/tests/ftest/pool/attribute.py | 23 +++++++++++++++--- src/tests/ftest/pool/bad_connect.py | 21 ++++++++++++++-- src/tests/ftest/pool/bad_create.py | 23 +++++++++++++++--- src/tests/ftest/pool/bad_evict.py | 23 +++++++++++++++--- src/tests/ftest/pool/bad_exclude.py | 23 +++++++++++++++--- src/tests/ftest/pool/bad_query.py | 23 +++++++++++++++--- src/tests/ftest/pool/connect_test.py | 23 +++++++++++++++--- src/tests/ftest/pool/create_test.py | 19 ++++++++++++++- src/tests/ftest/pool/destroy_rebuild.py | 21 ++++++++++++++-- src/tests/ftest/pool/destroy_tests.py | 23 +++++++++++++++--- src/tests/ftest/pool/dynamic_server_pool.py | 23 +++++++++++++++--- src/tests/ftest/pool/evict_test.py | 23 +++++++++++++++--- src/tests/ftest/pool/global_handle.py | 23 +++++++++++++++--- src/tests/ftest/pool/info_tests.py | 21 ++++++++++++++-- src/tests/ftest/pool/list_pools.py | 23 +++++++++++++++--- .../pool/multi_server_create_delete_test.py | 23 +++++++++++++++--- src/tests/ftest/pool/multiple_creates_test.py | 24 +++++++++++++++---- src/tests/ftest/pool/permission.py | 23 +++++++++++++++--- src/tests/ftest/pool/pool_svc.py | 21 ++++++++++++++-- src/tests/ftest/pool/query_attribute.py | 21 ++++++++++++++-- src/tests/ftest/pool/rebuild_no_cap.py | 23 +++++++++++++++--- src/tests/ftest/pool/rebuild_tests.py | 23 +++++++++++++++--- src/tests/ftest/pool/rebuild_with_io.py | 23 +++++++++++++++--- src/tests/ftest/pool/rebuild_with_ior.py | 23 +++++++++++++++--- .../ftest/pool/simple_create_delete_test.py | 21 ++++++++++++++-- src/tests/ftest/pool/storage_ratio.py | 21 ++++++++++++++-- src/tests/ftest/rebuild/cascading_failures.py | 23 +++++++++++++++--- src/tests/ftest/rebuild/container_create.py | 23 +++++++++++++++--- src/tests/ftest/rebuild/delete_objects.py | 23 +++++++++++++++--- src/tests/ftest/rebuild/io_conf_run.py | 21 ++++++++++++++-- src/tests/ftest/rebuild/read_array.py | 21 ++++++++++++++-- src/tests/ftest/security/cont_create_acl.py | 23 +++++++++++++++--- src/tests/ftest/security/cont_delete_acl.py | 23 +++++++++++++++--- src/tests/ftest/security/cont_get_acl.py | 23 +++++++++++++++--- .../ftest/security/cont_overwrite_acl.py | 23 +++++++++++++++--- src/tests/ftest/security/cont_update_acl.py | 23 +++++++++++++++--- .../ftest/security/container_security_acl.py | 21 ++++++++++++++-- src/tests/ftest/security/pool_connect_init.py | 21 ++++++++++++++-- src/tests/ftest/security/pool_security_acl.py | 21 ++++++++++++++-- .../ftest/security/pool_security_groups.py | 21 ++++++++++++++-- src/tests/ftest/server/cpu_usage.py | 21 ++++++++++++++-- src/tests/ftest/server/daos_server_config.py | 21 ++++++++++++++-- src/tests/ftest/server/daos_server_restart.py | 23 +++++++++++++++--- src/tests/ftest/server/dynamic_start_stop.py | 23 +++++++++++++++--- src/tests/ftest/server/metadata.py | 23 +++++++++++++++--- src/tests/ftest/slurm_setup.py | 23 +++++++++++++++--- src/tests/ftest/soak/soak_faults.py | 23 +++++++++++++++--- src/tests/ftest/soak/soak_harassers.py | 23 +++++++++++++++--- src/tests/ftest/soak/soak_smoke.py | 23 +++++++++++++++--- src/tests/ftest/soak/soak_stress_2h.py | 23 +++++++++++++++--- src/tests/ftest/soak/soak_stress_48h.py | 23 +++++++++++++++--- src/tests/ftest/soak/soak_test_base.py | 23 +++++++++++++++--- src/tests/ftest/soak/soak_utils.py | 23 +++++++++++++++--- src/tests/ftest/unittest/unittest.py | 23 +++++++++++++++--- src/tests/ftest/util/agent_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/agent_utils_params.py | 21 ++++++++++++++-- src/tests/ftest/util/apricot/apricot/test.py | 23 +++++++++++++++--- src/tests/ftest/util/check_for_pool.py | 23 +++++++++++++++--- src/tests/ftest/util/command_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/command_utils_base.py | 23 +++++++++++++++--- src/tests/ftest/util/configuration_utils.py | 23 +++++++++++++++--- .../ftest/util/cont_security_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/control_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/daos_core_base.py | 23 +++++++++++++++--- src/tests/ftest/util/daos_io_conf.py | 23 +++++++++++++++--- src/tests/ftest/util/daos_perf_base.py | 21 ++++++++++++++-- src/tests/ftest/util/daos_perf_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/daos_racer_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/daos_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/daos_utils_base.py | 23 +++++++++++++++--- src/tests/ftest/util/data_mover_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/data_mover_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/dfuse_test_base.py | 21 ++++++++++++++-- src/tests/ftest/util/dfuse_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/dmg_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/dmg_utils_base.py | 23 +++++++++++++++--- src/tests/ftest/util/dmg_utils_params.py | 21 ++++++++++++++-- src/tests/ftest/util/fault_config_utils.py | 21 ++++++++++++++-- src/tests/ftest/util/fio_test_base.py | 21 ++++++++++++++-- src/tests/ftest/util/fio_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/general_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/get_hosts_from_file.py | 21 ++++++++++++++-- src/tests/ftest/util/io_utilities.py | 23 +++++++++++++++--- src/tests/ftest/util/ior_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/ior_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/job_manager_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/logger_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/macsio_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/macsio_util.py | 23 +++++++++++++++--- src/tests/ftest/util/mdtest_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/mdtest_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/mpio_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/nvme_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/osa_utils.py | 23 +++++++++++++++--- .../ftest/util/pool_security_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/pool_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/rebuild_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/security_test_base.py | 23 +++++++++++++++--- src/tests/ftest/util/server_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/server_utils_params.py | 23 +++++++++++++++--- src/tests/ftest/util/slurm_utils.py | 23 +++++++++++++++--- src/tests/ftest/util/test_utils_base.py | 23 +++++++++++++++--- src/tests/ftest/util/test_utils_container.py | 23 +++++++++++++++--- src/tests/ftest/util/test_utils_pool.py | 23 +++++++++++++++--- src/tests/ftest/util/vol_test_base.py | 21 ++++++++++++++-- src/tests/ftest/util/write_host_file.py | 21 ++++++++++++++-- src/tests/ftest/util/write_some_data.py | 23 +++++++++++++++--- utils/githooks/pre-commit | 4 ++-- 235 files changed, 4585 insertions(+), 634 deletions(-) diff --git a/LICENSE b/LICENSE index 4e55f5602a2..73f85529b03 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2021 Intel Corporation. +https://spdx.org/licenses/BSD-2-Clause-Patent.html Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/src/tests/ftest/aggregation/aggregation_basic.py b/src/tests/ftest/aggregation/aggregation_basic.py index 0368e91b7f3..e02c64eac44 100644 --- a/src/tests/ftest/aggregation/aggregation_basic.py +++ b/src/tests/ftest/aggregation/aggregation_basic.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time diff --git a/src/tests/ftest/aggregation/aggregation_checksum.py b/src/tests/ftest/aggregation/aggregation_checksum.py index 1b5014fb750..0cc4087ffd9 100644 --- a/src/tests/ftest/aggregation/aggregation_checksum.py +++ b/src/tests/ftest/aggregation/aggregation_checksum.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import time diff --git a/src/tests/ftest/aggregation/aggregation_io_small.py b/src/tests/ftest/aggregation/aggregation_io_small.py index e0d35da3483..cef0e6ceb25 100644 --- a/src/tests/ftest/aggregation/aggregation_io_small.py +++ b/src/tests/ftest/aggregation/aggregation_io_small.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time diff --git a/src/tests/ftest/aggregation/aggregation_punching.py b/src/tests/ftest/aggregation/aggregation_punching.py index 33e38eb476f..788e4feb434 100644 --- a/src/tests/ftest/aggregation/aggregation_punching.py +++ b/src/tests/ftest/aggregation/aggregation_punching.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time diff --git a/src/tests/ftest/aggregation/aggregation_throttling.py b/src/tests/ftest/aggregation/aggregation_throttling.py index 1ec71410604..17817cacace 100644 --- a/src/tests/ftest/aggregation/aggregation_throttling.py +++ b/src/tests/ftest/aggregation/aggregation_throttling.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time diff --git a/src/tests/ftest/aggregation/dfuse_space_check.py b/src/tests/ftest/aggregation/dfuse_space_check.py index 01137fa6212..09fe1ec5817 100644 --- a/src/tests/ftest/aggregation/dfuse_space_check.py +++ b/src/tests/ftest/aggregation/dfuse_space_check.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time diff --git a/src/tests/ftest/avocado_tests.py b/src/tests/ftest/avocado_tests.py index 4cd0d9752bb..8c4012a5dcd 100755 --- a/src/tests/ftest/avocado_tests.py +++ b/src/tests/ftest/avocado_tests.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time 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 601e184779f..df1e129437e 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_five_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_five_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 4853f782696..eb9c7c0637e 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_one_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_one_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 cfc81d5e5d7..6f354de95d7 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_two_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_two_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function 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 b24edbbd0f5..5e2ed931387 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_five_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_five_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 ef66afbe4ff..8ee60626553 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_one_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_one_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function 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 bd1b6577f3d..4be31ba1914 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,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 c659e0d43b1..827de886aa3 100755 --- a/src/tests/ftest/cart/group_test/group_test.py +++ b/src/tests/ftest/cart/group_test/group_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 7bc18424061..15739a418ef 100755 --- a/src/tests/ftest/cart/iv/cart_iv_one_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_one_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 233c102058b..892a546b394 100755 --- a/src/tests/ftest/cart/iv/cart_iv_two_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_two_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function 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 f6b9db5c101..e618feeea0e 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,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function 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 d4525c48561..232754347f7 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,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 eaaf55b602c..005ee6ad1da 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_one_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_one_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 64865c74026..2e432cd2862 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_two_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_two_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function 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 7be0c5456f1..587d4e08d18 100755 --- a/src/tests/ftest/cart/selftest/cart_selftest_three_node.py +++ b/src/tests/ftest/cart/selftest/cart_selftest_three_node.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/util/cart_utils.py b/src/tests/ftest/cart/util/cart_utils.py index 565bdd26adb..e8a85ee9233 100755 --- a/src/tests/ftest/cart/util/cart_utils.py +++ b/src/tests/ftest/cart/util/cart_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 b0cbd52f8d2..25d94199577 100644 --- a/src/tests/ftest/checksum/basic_checksum.py +++ b/src/tests/ftest/checksum/basic_checksum.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import ctypes diff --git a/src/tests/ftest/checksum/csum_error_logging.py b/src/tests/ftest/checksum/csum_error_logging.py index f8a7251b15b..ee7cf470b01 100644 --- a/src/tests/ftest/checksum/csum_error_logging.py +++ b/src/tests/ftest/checksum/csum_error_logging.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import json diff --git a/src/tests/ftest/config_file_gen.py b/src/tests/ftest/config_file_gen.py index 2a13ceae9ce..45b1fe421bb 100755 --- a/src/tests/ftest/config_file_gen.py +++ b/src/tests/ftest/config_file_gen.py @@ -1,8 +1,25 @@ #!/usr/bin/python2 """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import logging from argparse import ArgumentParser, RawDescriptionHelpFormatter diff --git a/src/tests/ftest/container/attribute.py b/src/tests/ftest/container/attribute.py index 145f4fe0e36..cc80f15354a 100755 --- a/src/tests/ftest/container/attribute.py +++ b/src/tests/ftest/container/attribute.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function diff --git a/src/tests/ftest/container/basic_snapshot.py b/src/tests/ftest/container/basic_snapshot.py index 97b5cca9cde..79c5789feb1 100755 --- a/src/tests/ftest/container/basic_snapshot.py +++ b/src/tests/ftest/container/basic_snapshot.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import random diff --git a/src/tests/ftest/container/basic_tx_test.py b/src/tests/ftest/container/basic_tx_test.py index 975bd309b63..34ea7a33a39 100755 --- a/src/tests/ftest/container/basic_tx_test.py +++ b/src/tests/ftest/container/basic_tx_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function diff --git a/src/tests/ftest/container/container_async.py b/src/tests/ftest/container/container_async.py index f90cb92c28c..61978486cb3 100755 --- a/src/tests/ftest/container/container_async.py +++ b/src/tests/ftest/container/container_async.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' import traceback diff --git a/src/tests/ftest/container/container_check.py b/src/tests/ftest/container/container_check.py index e9a168c43cd..b7812ac86df 100644 --- a/src/tests/ftest/container/container_check.py +++ b/src/tests/ftest/container/container_check.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ from avocado.core.exceptions import TestFail diff --git a/src/tests/ftest/container/create.py b/src/tests/ftest/container/create.py index a0e10759c05..9e972725988 100755 --- a/src/tests/ftest/container/create.py +++ b/src/tests/ftest/container/create.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function diff --git a/src/tests/ftest/container/delete.py b/src/tests/ftest/container/delete.py index 951fbf32bea..433c04a7ae3 100755 --- a/src/tests/ftest/container/delete.py +++ b/src/tests/ftest/container/delete.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 d9ecf250408..e1b9ef523a3 100755 --- a/src/tests/ftest/container/full_pool_container_create.py +++ b/src/tests/ftest/container/full_pool_container_create.py @@ -1,7 +1,24 @@ """ - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 bc31f4a6f98..51cbc7ff90b 100755 --- a/src/tests/ftest/container/global_handle.py +++ b/src/tests/ftest/container/global_handle.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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 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. ''' from __future__ import print_function diff --git a/src/tests/ftest/container/list_containers.py b/src/tests/ftest/container/list_containers.py index 333f53e3840..417be0a7eaf 100755 --- a/src/tests/ftest/container/list_containers.py +++ b/src/tests/ftest/container/list_containers.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 3eb4e261a2c..480dfc6cbcd 100644 --- a/src/tests/ftest/container/multiple_container_delete.py +++ b/src/tests/ftest/container/multiple_container_delete.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from ior_test_base import IorTestBase diff --git a/src/tests/ftest/container/open.py b/src/tests/ftest/container/open.py index d00e9a5c2da..64917d68817 100755 --- a/src/tests/ftest/container/open.py +++ b/src/tests/ftest/container/open.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' import traceback import uuid diff --git a/src/tests/ftest/container/open_close.py b/src/tests/ftest/container/open_close.py index 32688f6cc72..2e48d1da243 100755 --- a/src/tests/ftest/container/open_close.py +++ b/src/tests/ftest/container/open_close.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' import traceback import uuid diff --git a/src/tests/ftest/container/query_attribute.py b/src/tests/ftest/container/query_attribute.py index 14e7028da20..a528db33efb 100644 --- a/src/tests/ftest/container/query_attribute.py +++ b/src/tests/ftest/container/query_attribute.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 04281c983aa..1947de1b945 100644 --- a/src/tests/ftest/container/root_container_test.py +++ b/src/tests/ftest/container/root_container_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 7f379500778..876eae9be3e 100755 --- a/src/tests/ftest/container/simple_create_delete_test.py +++ b/src/tests/ftest/container/simple_create_delete_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 58b9e5970f7..cc5ceb6055e 100755 --- a/src/tests/ftest/container/snapshot.py +++ b/src/tests/ftest/container/snapshot.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 83ae881c6bb..b484a6e2fc7 100644 --- a/src/tests/ftest/container/snapshot_aggregation.py +++ b/src/tests/ftest/container/snapshot_aggregation.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time diff --git a/src/tests/ftest/control/daos_admin_privileged.py b/src/tests/ftest/control/daos_admin_privileged.py index 3d5dd62e909..f113c1f36e5 100644 --- a/src/tests/ftest/control/daos_admin_privileged.py +++ b/src/tests/ftest/control/daos_admin_privileged.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 ef194823c4d..cce70a07cc6 100644 --- a/src/tests/ftest/control/daos_agent_config.py +++ b/src/tests/ftest/control/daos_agent_config.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 385d3add000..ed6bdda5def 100644 --- a/src/tests/ftest/control/daos_control_config.py +++ b/src/tests/ftest/control/daos_control_config.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 fd3438748e5..bf085ee7565 100644 --- a/src/tests/ftest/control/daos_object_query.py +++ b/src/tests/ftest/control/daos_object_query.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 ef2fc782ae9..a11980fbee4 100644 --- a/src/tests/ftest/control/daos_scm_config.py +++ b/src/tests/ftest/control/daos_scm_config.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import avocado diff --git a/src/tests/ftest/control/daos_snapshot.py b/src/tests/ftest/control/daos_snapshot.py index fefe0d86104..4ce2091f76a 100755 --- a/src/tests/ftest/control/daos_snapshot.py +++ b/src/tests/ftest/control/daos_snapshot.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 e2e91fc7a26..d76747953ec 100644 --- a/src/tests/ftest/control/dmg_network_scan.py +++ b/src/tests/ftest/control/dmg_network_scan.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 18965dfdd28..3860272ebf7 100755 --- a/src/tests/ftest/control/dmg_nvme_scan_test.py +++ b/src/tests/ftest/control/dmg_nvme_scan_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 05406f92b52..498c9ffa6f5 100644 --- a/src/tests/ftest/control/dmg_pool_evict.py +++ b/src/tests/ftest/control/dmg_pool_evict.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 6dc7b744169..3040a5ed2dd 100644 --- a/src/tests/ftest/control/dmg_pool_query_test.py +++ b/src/tests/ftest/control/dmg_pool_query_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 a02c0fb5efa..630ddef5459 100644 --- a/src/tests/ftest/control/dmg_storage_query.py +++ b/src/tests/ftest/control/dmg_storage_query.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 bd23798691c..e60e7aee5a3 100644 --- a/src/tests/ftest/control/dmg_storage_scan_scm.py +++ b/src/tests/ftest/control/dmg_storage_scan_scm.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import os diff --git a/src/tests/ftest/control/dmg_system_reformat.py b/src/tests/ftest/control/dmg_system_reformat.py index bd0c4dbbe32..39bfcbd9785 100644 --- a/src/tests/ftest/control/dmg_system_reformat.py +++ b/src/tests/ftest/control/dmg_system_reformat.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from __future__ import print_function diff --git a/src/tests/ftest/control/ssd_socket.py b/src/tests/ftest/control/ssd_socket.py index 9a5aba5ccbf..29a0b4c4408 100644 --- a/src/tests/ftest/control/ssd_socket.py +++ b/src/tests/ftest/control/ssd_socket.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 6ce2b0c1b8a..8b804b7d458 100644 --- a/src/tests/ftest/control/super_block_versioning.py +++ b/src/tests/ftest/control/super_block_versioning.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 a62d3c2a297..e93f259549b 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,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 80f35f742fa..8c417df8031 100755 --- a/src/tests/ftest/daos_test/daos_core_test-rebuild.py +++ b/src/tests/ftest/daos_test/daos_core_test-rebuild.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 4ac040856f1..f7c4f7bd125 100755 --- a/src/tests/ftest/daos_test/daos_core_test.py +++ b/src/tests/ftest/daos_test/daos_core_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 41bbadab5e3..236c99553bb 100755 --- a/src/tests/ftest/daos_test/daos_core_test_dfs.py +++ b/src/tests/ftest/daos_test/daos_core_test_dfs.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import os diff --git a/src/tests/ftest/datamover/container_copy.py b/src/tests/ftest/datamover/container_copy.py index e92f2602f7c..b7a9797f734 100644 --- a/src/tests/ftest/datamover/container_copy.py +++ b/src/tests/ftest/datamover/container_copy.py @@ -1,7 +1,21 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 1ee33ecd164..e0bcc0d1e94 100644 --- a/src/tests/ftest/datamover/copy_basics.py +++ b/src/tests/ftest/datamover/copy_basics.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 5d512ce36da..0fd82abd327 100644 --- a/src/tests/ftest/datamover/copy_negative.py +++ b/src/tests/ftest/datamover/copy_negative.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 0b06270d7cd..1a2ae2559e3 100644 --- a/src/tests/ftest/datamover/copy_procs.py +++ b/src/tests/ftest/datamover/copy_procs.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 1e11a32dffc..e072afea210 100644 --- a/src/tests/ftest/erasurecode/ec_ior_smoke.py +++ b/src/tests/ftest/erasurecode/ec_ior_smoke.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 2fca3ff0b20..4714c47976a 100644 --- a/src/tests/ftest/erasurecode/ec_mdtest_smoke.py +++ b/src/tests/ftest/erasurecode/ec_mdtest_smoke.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' from mdtest_test_base import MdtestBase diff --git a/src/tests/ftest/io/crash_ior.py b/src/tests/ftest/io/crash_ior.py index f37a3ee7820..6b92e68e0fa 100644 --- a/src/tests/ftest/io/crash_ior.py +++ b/src/tests/ftest/io/crash_ior.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import time diff --git a/src/tests/ftest/io/daos_perf.py b/src/tests/ftest/io/daos_perf.py index c949562908f..61b4f46b1c1 100755 --- a/src/tests/ftest/io/daos_perf.py +++ b/src/tests/ftest/io/daos_perf.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 111c76d4ab3..6a42820bb8f 100755 --- a/src/tests/ftest/io/daos_perf_large.py +++ b/src/tests/ftest/io/daos_perf_large.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 9c47dee6571..8613e9bb7cc 100644 --- a/src/tests/ftest/io/daos_racer.py +++ b/src/tests/ftest/io/daos_racer.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from apricot import TestWithServers diff --git a/src/tests/ftest/io/daos_vol.py b/src/tests/ftest/io/daos_vol.py index 976c87551fb..9ae31c90f2c 100644 --- a/src/tests/ftest/io/daos_vol.py +++ b/src/tests/ftest/io/daos_vol.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2019-2020 Intel Corporation. +(C) Copyright 2019-2021 Intel Corporation. -SPDX-License-Identifier: BSD-2-Clause-Patent +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE +The Government's rights to use, modify, reproduce, release, perform, display, +or disclose this software are subject to the terms of the Apache License as +provided in Contract No. B609815. +Any reproduction of computer software, computer software documentation, or +portions thereof marked with this legend must also reproduce the markings. """ 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 f2d7b932362..75154d91820 100644 --- a/src/tests/ftest/io/dfuse_bash_cmd.py +++ b/src/tests/ftest/io/dfuse_bash_cmd.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import os import general_utils diff --git a/src/tests/ftest/io/dfuse_sparse_file.py b/src/tests/ftest/io/dfuse_sparse_file.py index a0d4b16f0c9..b0b263dcf13 100644 --- a/src/tests/ftest/io/dfuse_sparse_file.py +++ b/src/tests/ftest/io/dfuse_sparse_file.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from getpass import getuser diff --git a/src/tests/ftest/io/fio_small.py b/src/tests/ftest/io/fio_small.py index 7b95a4c8259..bbbb64742b8 100755 --- a/src/tests/ftest/io/fio_small.py +++ b/src/tests/ftest/io/fio_small.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from fio_test_base import FioBase diff --git a/src/tests/ftest/io/hdf5.py b/src/tests/ftest/io/hdf5.py index 96d34c24294..38458d774c7 100644 --- a/src/tests/ftest/io/hdf5.py +++ b/src/tests/ftest/io/hdf5.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 451ad17bd1d..389372df419 100644 --- a/src/tests/ftest/io/io_aggregation.py +++ b/src/tests/ftest/io/io_aggregation.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time diff --git a/src/tests/ftest/io/io_consistency.py b/src/tests/ftest/io/io_consistency.py index e10b8a99050..30fd4d01015 100644 --- a/src/tests/ftest/io/io_consistency.py +++ b/src/tests/ftest/io/io_consistency.py @@ -1,7 +1,21 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 f2b5c66e0b3..694b5d19722 100644 --- a/src/tests/ftest/io/ior_hdf5.py +++ b/src/tests/ftest/io/ior_hdf5.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2020 Intel Corporation. +(C) Copyright 2018-2021 Intel Corporation. -SPDX-License-Identifier: BSD-2-Clause-Patent +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE +The Government's rights to use, modify, reproduce, release, perform, display, +or disclose this software are subject to the terms of the Apache License as +provided in Contract No. B609815. +Any reproduction of computer software, computer software documentation, or +portions thereof marked with this legend must also reproduce the markings. """ 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 c25c948d8bc..a35d0f28e79 100644 --- a/src/tests/ftest/io/ior_intercept_basic.py +++ b/src/tests/ftest/io/ior_intercept_basic.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 5018b8ba257..1ff85724b7a 100644 --- a/src/tests/ftest/io/ior_intercept_dfuse_mix.py +++ b/src/tests/ftest/io/ior_intercept_dfuse_mix.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 cd644471de0..e7128df388f 100644 --- a/src/tests/ftest/io/ior_intercept_multi_client.py +++ b/src/tests/ftest/io/ior_intercept_multi_client.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 94640cab3f9..8504f07c3c4 100644 --- a/src/tests/ftest/io/ior_intercept_verify_data_integrity.py +++ b/src/tests/ftest/io/ior_intercept_verify_data_integrity.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import os diff --git a/src/tests/ftest/io/ior_large.py b/src/tests/ftest/io/ior_large.py index 8550a34031d..9c435ceba1b 100755 --- a/src/tests/ftest/io/ior_large.py +++ b/src/tests/ftest/io/ior_large.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 cd36a37b358..464873476bd 100755 --- a/src/tests/ftest/io/ior_small.py +++ b/src/tests/ftest/io/ior_small.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. +(C) Copyright 2018-2021 Intel Corporation. -SPDX-License-Identifier: BSD-2-Clause-Patent +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE +The Government's rights to use, modify, reproduce, release, perform, display, +or disclose this software are subject to the terms of the Apache License as +provided in Contract No. B609815. +Any reproduction of computer software, computer software documentation, or +portions thereof marked with this legend must also reproduce the markings. """ 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 9a3f5103d64..122184cbc0f 100644 --- a/src/tests/ftest/io/large_file_count.py +++ b/src/tests/ftest/io/large_file_count.py @@ -1,7 +1,21 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 04f57c8c552..7cbebdbd03e 100755 --- a/src/tests/ftest/io/llnl_mpi4py.py +++ b/src/tests/ftest/io/llnl_mpi4py.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 78962f9d377..36b942fc3e4 100755 --- a/src/tests/ftest/io/macsio_test.py +++ b/src/tests/ftest/io/macsio_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 33664130f6e..b6dc6497ca7 100755 --- a/src/tests/ftest/io/mdtest_large.py +++ b/src/tests/ftest/io/mdtest_large.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 1950c92e085..50b2a14ae7a 100755 --- a/src/tests/ftest/io/mdtest_small.py +++ b/src/tests/ftest/io/mdtest_small.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 1dab6b183e6..f8867f686bf 100644 --- a/src/tests/ftest/io/parallel_io.py +++ b/src/tests/ftest/io/parallel_io.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import threading diff --git a/src/tests/ftest/io/romio.py b/src/tests/ftest/io/romio.py index 2c4d9f22970..a7b2672a0d1 100755 --- a/src/tests/ftest/io/romio.py +++ b/src/tests/ftest/io/romio.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 83ecf1b2e31..c974957add6 100755 --- a/src/tests/ftest/io/seg_count.py +++ b/src/tests/ftest/io/seg_count.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 a5080643229..9ac270a4b8e 100644 --- a/src/tests/ftest/io/unaligned_io.py +++ b/src/tests/ftest/io/unaligned_io.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ from daos_io_conf import IoConfTestBase diff --git a/src/tests/ftest/launch.py b/src/tests/ftest/launch.py index 9c5bbc74f9a..00c4e2b9af7 100755 --- a/src/tests/ftest/launch.py +++ b/src/tests/ftest/launch.py @@ -1,8 +1,25 @@ #!/usr/bin/python2 -u """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ # 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 604f47a7bea..a4faece6217 100755 --- a/src/tests/ftest/metrics.py +++ b/src/tests/ftest/metrics.py @@ -1,8 +1,25 @@ #!/usr/bin/python2 """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 a8dd8162102..326d03fb692 100755 --- a/src/tests/ftest/network/cart_self_test.py +++ b/src/tests/ftest/network/cart_self_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import os diff --git a/src/tests/ftest/network/zero_config.py b/src/tests/ftest/network/zero_config.py index 35a6efff20a..4c46c19445c 100644 --- a/src/tests/ftest/network/zero_config.py +++ b/src/tests/ftest/network/zero_config.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from __future__ import print_function diff --git a/src/tests/ftest/nvme/enospace.py b/src/tests/ftest/nvme/enospace.py index 416d65f4034..184eed97044 100644 --- a/src/tests/ftest/nvme/enospace.py +++ b/src/tests/ftest/nvme/enospace.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' import time import threading diff --git a/src/tests/ftest/nvme/nvme_fault.py b/src/tests/ftest/nvme/nvme_fault.py index defe11b4b77..e9fb4d1bee4 100644 --- a/src/tests/ftest/nvme/nvme_fault.py +++ b/src/tests/ftest/nvme/nvme_fault.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 574d2865007..d7ba786cbc0 100644 --- a/src/tests/ftest/nvme/nvme_fragmentation.py +++ b/src/tests/ftest/nvme/nvme_fragmentation.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time diff --git a/src/tests/ftest/nvme/nvme_health.py b/src/tests/ftest/nvme/nvme_health.py index a4790f937a8..ab940815187 100644 --- a/src/tests/ftest/nvme/nvme_health.py +++ b/src/tests/ftest/nvme/nvme_health.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 c068aac04d9..8d394352ff9 100755 --- a/src/tests/ftest/nvme/nvme_io.py +++ b/src/tests/ftest/nvme/nvme_io.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 91a4332c209..9b7d706b981 100755 --- a/src/tests/ftest/nvme/nvme_io_stats.py +++ b/src/tests/ftest/nvme/nvme_io_stats.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 06abd41763c..0a56992730f 100755 --- a/src/tests/ftest/nvme/nvme_io_verification.py +++ b/src/tests/ftest/nvme/nvme_io_verification.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from __future__ import print_function diff --git a/src/tests/ftest/nvme/nvme_object.py b/src/tests/ftest/nvme/nvme_object.py index 4df6c198e24..0b18af5bab0 100755 --- a/src/tests/ftest/nvme/nvme_object.py +++ b/src/tests/ftest/nvme/nvme_object.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 2c7663e3722..c982d90e9e9 100644 --- a/src/tests/ftest/nvme/nvme_pool_capacity.py +++ b/src/tests/ftest/nvme/nvme_pool_capacity.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import time diff --git a/src/tests/ftest/nvme/nvme_pool_exclude.py b/src/tests/ftest/nvme/nvme_pool_exclude.py index efa54e0c4ef..48a23cf2aa3 100644 --- a/src/tests/ftest/nvme/nvme_pool_exclude.py +++ b/src/tests/ftest/nvme/nvme_pool_exclude.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 d11adfcd682..4931dc070d8 100644 --- a/src/tests/ftest/nvme/nvme_pool_extend.py +++ b/src/tests/ftest/nvme/nvme_pool_extend.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 dc6b34a863d..d50131c4f6c 100755 --- a/src/tests/ftest/object/array_obj_test.py +++ b/src/tests/ftest/object/array_obj_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2017-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 9199782c1bd..1008968a993 100755 --- a/src/tests/ftest/object/create_many_dkeys.py +++ b/src/tests/ftest/object/create_many_dkeys.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 badf0672284..cedb6da4180 100755 --- a/src/tests/ftest/object/obj_fetch_bad_param.py +++ b/src/tests/ftest/object/obj_fetch_bad_param.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 b39bd4547f2..55128bc1211 100755 --- a/src/tests/ftest/object/obj_open_bad_param.py +++ b/src/tests/ftest/object/obj_open_bad_param.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 ae312136297..bf290d286a9 100755 --- a/src/tests/ftest/object/obj_update_bad_param.py +++ b/src/tests/ftest/object/obj_update_bad_param.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function diff --git a/src/tests/ftest/object/object_integrity.py b/src/tests/ftest/object/object_integrity.py index f2b93740835..dd3e5a04184 100755 --- a/src/tests/ftest/object/object_integrity.py +++ b/src/tests/ftest/object/object_integrity.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import ctypes import time diff --git a/src/tests/ftest/object/punch_test.py b/src/tests/ftest/object/punch_test.py index 4eaad4a8e5e..141dc11fd79 100755 --- a/src/tests/ftest/object/punch_test.py +++ b/src/tests/ftest/object/punch_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 b39e968f74e..8fc22217a27 100755 --- a/src/tests/ftest/object/same_key_different_value.py +++ b/src/tests/ftest/object/same_key_different_value.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 52658ff7f29..df19b47564b 100644 --- a/src/tests/ftest/osa/osa_offline_drain.py +++ b/src/tests/ftest/osa/osa_offline_drain.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 bf17eeb1e10..1c77a270355 100644 --- a/src/tests/ftest/osa/osa_offline_extend.py +++ b/src/tests/ftest/osa/osa_offline_extend.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 f278d85deef..bc98bf10488 100644 --- a/src/tests/ftest/osa/osa_offline_parallel_test.py +++ b/src/tests/ftest/osa/osa_offline_parallel_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 6fd06fb9edc..ec8bd3b61d3 100755 --- a/src/tests/ftest/osa/osa_offline_reintegration.py +++ b/src/tests/ftest/osa/osa_offline_reintegration.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 2fb82af805e..03c767c1cd4 100644 --- a/src/tests/ftest/osa/osa_online_drain.py +++ b/src/tests/ftest/osa/osa_online_drain.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 54cdca5ddd4..6d678408401 100644 --- a/src/tests/ftest/osa/osa_online_extend.py +++ b/src/tests/ftest/osa/osa_online_extend.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 2058a27d118..bbab85f98f1 100644 --- a/src/tests/ftest/osa/osa_online_parallel_test.py +++ b/src/tests/ftest/osa/osa_online_parallel_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 a85ac6c111f..857c93df432 100644 --- a/src/tests/ftest/osa/osa_online_reintegration.py +++ b/src/tests/ftest/osa/osa_online_reintegration.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import time import random diff --git a/src/tests/ftest/pool/attribute.py b/src/tests/ftest/pool/attribute.py index f1cb500e431..bc21ff4bf87 100755 --- a/src/tests/ftest/pool/attribute.py +++ b/src/tests/ftest/pool/attribute.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/bad_connect.py b/src/tests/ftest/pool/bad_connect.py index ba9b3bd980b..34c74a63dca 100755 --- a/src/tests/ftest/pool/bad_connect.py +++ b/src/tests/ftest/pool/bad_connect.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/bad_create.py b/src/tests/ftest/pool/bad_create.py index b11a36fbd6c..86ffa2b5e37 100755 --- a/src/tests/ftest/pool/bad_create.py +++ b/src/tests/ftest/pool/bad_create.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' import os import traceback diff --git a/src/tests/ftest/pool/bad_evict.py b/src/tests/ftest/pool/bad_evict.py index 6f624cb9380..319d0ab02e4 100755 --- a/src/tests/ftest/pool/bad_evict.py +++ b/src/tests/ftest/pool/bad_evict.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' import traceback import ctypes diff --git a/src/tests/ftest/pool/bad_exclude.py b/src/tests/ftest/pool/bad_exclude.py index e16351ae260..ef3e70e286d 100755 --- a/src/tests/ftest/pool/bad_exclude.py +++ b/src/tests/ftest/pool/bad_exclude.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/bad_query.py b/src/tests/ftest/pool/bad_query.py index fcd292fbb9b..d53fe621fd9 100755 --- a/src/tests/ftest/pool/bad_query.py +++ b/src/tests/ftest/pool/bad_query.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' import traceback diff --git a/src/tests/ftest/pool/connect_test.py b/src/tests/ftest/pool/connect_test.py index 4fc5c727561..1571d26b475 100755 --- a/src/tests/ftest/pool/connect_test.py +++ b/src/tests/ftest/pool/connect_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/create_test.py b/src/tests/ftest/pool/create_test.py index 62445eabf1b..12c44665beb 100644 --- a/src/tests/ftest/pool/create_test.py +++ b/src/tests/ftest/pool/create_test.py @@ -2,7 +2,24 @@ """ (C) Copyright 2021 Intel Corporation. -SPDX-License-Identifier: BSD-2-Clause-Patent +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE +The Government's rights to use, modify, reproduce, release, perform, display, +or disclose this software are subject to the terms of the Apache License as +provided in Contract No. B609815. +Any reproduction of computer software, computer software documentation, or +portions thereof marked with this legend must also reproduce the markings. """ 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 bc28dc5d20a..877ca9cdd42 100755 --- a/src/tests/ftest/pool/destroy_rebuild.py +++ b/src/tests/ftest/pool/destroy_rebuild.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 7661e8aa08c..ca62aa8bfe9 100755 --- a/src/tests/ftest/pool/destroy_tests.py +++ b/src/tests/ftest/pool/destroy_tests.py @@ -1,8 +1,25 @@ #!/usr/bin/python2 """ -(C) Copyright 2018-2019 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ 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 1c801b36f21..2bd2153bee8 100644 --- a/src/tests/ftest/pool/dynamic_server_pool.py +++ b/src/tests/ftest/pool/dynamic_server_pool.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 dab06574add..95f4f0d7f4a 100644 --- a/src/tests/ftest/pool/evict_test.py +++ b/src/tests/ftest/pool/evict_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from __future__ import print_function diff --git a/src/tests/ftest/pool/global_handle.py b/src/tests/ftest/pool/global_handle.py index 95afb6db200..9e1ff3241b6 100755 --- a/src/tests/ftest/pool/global_handle.py +++ b/src/tests/ftest/pool/global_handle.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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 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. ''' 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 b38af4d6cd7..152232d5774 100755 --- a/src/tests/ftest/pool/info_tests.py +++ b/src/tests/ftest/pool/info_tests.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 3a28884b403..8865944bb86 100755 --- a/src/tests/ftest/pool/list_pools.py +++ b/src/tests/ftest/pool/list_pools.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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 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. """ 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 48f53361219..243d9fa159f 100755 --- a/src/tests/ftest/pool/multi_server_create_delete_test.py +++ b/src/tests/ftest/pool/multi_server_create_delete_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2017-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 c235ef05687..58a9a2bd0cb 100755 --- a/src/tests/ftest/pool/multiple_creates_test.py +++ b/src/tests/ftest/pool/multiple_creates_test.py @@ -1,10 +1,26 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ - from __future__ import print_function from apricot import TestWithServers diff --git a/src/tests/ftest/pool/permission.py b/src/tests/ftest/pool/permission.py index 70c019d5ad8..d1c4d37a0f4 100755 --- a/src/tests/ftest/pool/permission.py +++ b/src/tests/ftest/pool/permission.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 1020c8ae782..a9cf0f3effd 100755 --- a/src/tests/ftest/pool/pool_svc.py +++ b/src/tests/ftest/pool/pool_svc.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 7781061d8cd..710cb7dc94b 100644 --- a/src/tests/ftest/pool/query_attribute.py +++ b/src/tests/ftest/pool/query_attribute.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 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. """ 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 99ae424ffba..d49c4e89215 100755 --- a/src/tests/ftest/pool/rebuild_no_cap.py +++ b/src/tests/ftest/pool/rebuild_no_cap.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 cbceec3d065..dde5a3bfc02 100755 --- a/src/tests/ftest/pool/rebuild_tests.py +++ b/src/tests/ftest/pool/rebuild_tests.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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 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. """ 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 898111cdc45..18db74b14b1 100755 --- a/src/tests/ftest/pool/rebuild_with_io.py +++ b/src/tests/ftest/pool/rebuild_with_io.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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 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. """ 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 a98b5419b6d..fc841f2fbaa 100755 --- a/src/tests/ftest/pool/rebuild_with_ior.py +++ b/src/tests/ftest/pool/rebuild_with_ior.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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 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. """ 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 96f994e75be..4209da08d71 100755 --- a/src/tests/ftest/pool/simple_create_delete_test.py +++ b/src/tests/ftest/pool/simple_create_delete_test.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2017-2020 Intel Corporation. + (C) Copyright 2017-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/storage_ratio.py b/src/tests/ftest/pool/storage_ratio.py index 61fb250a2fd..b40fe38d455 100644 --- a/src/tests/ftest/pool/storage_ratio.py +++ b/src/tests/ftest/pool/storage_ratio.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 a23d2b1d0c8..fa0ecb2a0dd 100644 --- a/src/tests/ftest/rebuild/cascading_failures.py +++ b/src/tests/ftest/rebuild/cascading_failures.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 f1731a1ad6e..2925cdea8c9 100644 --- a/src/tests/ftest/rebuild/container_create.py +++ b/src/tests/ftest/rebuild/container_create.py @@ -1,7 +1,24 @@ """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 5e749ed0d97..611c01151a3 100644 --- a/src/tests/ftest/rebuild/delete_objects.py +++ b/src/tests/ftest/rebuild/delete_objects.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 7e7f4a3ba7c..7baec5757ec 100644 --- a/src/tests/ftest/rebuild/io_conf_run.py +++ b/src/tests/ftest/rebuild/io_conf_run.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ from daos_io_conf import IoConfTestBase from apricot import skipForTicket diff --git a/src/tests/ftest/rebuild/read_array.py b/src/tests/ftest/rebuild/read_array.py index 20c7a48de2c..0a3d36ef88d 100755 --- a/src/tests/ftest/rebuild/read_array.py +++ b/src/tests/ftest/rebuild/read_array.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 8c743b912b3..49720add1b7 100755 --- a/src/tests/ftest/security/cont_create_acl.py +++ b/src/tests/ftest/security/cont_create_acl.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 7da8655fad3..5313b34094c 100644 --- a/src/tests/ftest/security/cont_delete_acl.py +++ b/src/tests/ftest/security/cont_delete_acl.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 8be39c15988..dc03872cd6a 100644 --- a/src/tests/ftest/security/cont_get_acl.py +++ b/src/tests/ftest/security/cont_get_acl.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import os diff --git a/src/tests/ftest/security/cont_overwrite_acl.py b/src/tests/ftest/security/cont_overwrite_acl.py index aea0d333285..4f808b63bb3 100644 --- a/src/tests/ftest/security/cont_overwrite_acl.py +++ b/src/tests/ftest/security/cont_overwrite_acl.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import os diff --git a/src/tests/ftest/security/cont_update_acl.py b/src/tests/ftest/security/cont_update_acl.py index b48caef2aa9..17f11aee65f 100644 --- a/src/tests/ftest/security/cont_update_acl.py +++ b/src/tests/ftest/security/cont_update_acl.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import os diff --git a/src/tests/ftest/security/container_security_acl.py b/src/tests/ftest/security/container_security_acl.py index 79c79f0be43..9ff5ba53474 100755 --- a/src/tests/ftest/security/container_security_acl.py +++ b/src/tests/ftest/security/container_security_acl.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to 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. """ 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 c98688aad44..9fd13e576e9 100755 --- a/src/tests/ftest/security/pool_connect_init.py +++ b/src/tests/ftest/security/pool_connect_init.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 a801846ceab..72bece5dce6 100755 --- a/src/tests/ftest/security/pool_security_acl.py +++ b/src/tests/ftest/security/pool_security_acl.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' 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 add8c56b303..dc14a91fa94 100755 --- a/src/tests/ftest/security/pool_security_groups.py +++ b/src/tests/ftest/security/pool_security_groups.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' import os diff --git a/src/tests/ftest/server/cpu_usage.py b/src/tests/ftest/server/cpu_usage.py index fe5cade852f..c3363003754 100644 --- a/src/tests/ftest/server/cpu_usage.py +++ b/src/tests/ftest/server/cpu_usage.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 51a11af81a2..39fbebaf951 100644 --- a/src/tests/ftest/server/daos_server_config.py +++ b/src/tests/ftest/server/daos_server_config.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 279a1bf17a8..71f6b486012 100644 --- a/src/tests/ftest/server/daos_server_restart.py +++ b/src/tests/ftest/server/daos_server_restart.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 c467f65ca3d..13c59161aef 100644 --- a/src/tests/ftest/server/dynamic_start_stop.py +++ b/src/tests/ftest/server/dynamic_start_stop.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import json from apricot import TestWithServers diff --git a/src/tests/ftest/server/metadata.py b/src/tests/ftest/server/metadata.py index 795671f6ee5..5b1af9e60e4 100755 --- a/src/tests/ftest/server/metadata.py +++ b/src/tests/ftest/server/metadata.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from __future__ import print_function diff --git a/src/tests/ftest/slurm_setup.py b/src/tests/ftest/slurm_setup.py index 21b3317678d..5a5fc60de95 100755 --- a/src/tests/ftest/slurm_setup.py +++ b/src/tests/ftest/slurm_setup.py @@ -1,8 +1,25 @@ #!/usr/bin/python2 """ - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import socket diff --git a/src/tests/ftest/soak/soak_faults.py b/src/tests/ftest/soak/soak_faults.py index c3720c91947..d956f35e757 100644 --- a/src/tests/ftest/soak/soak_faults.py +++ b/src/tests/ftest/soak/soak_faults.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ 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 f518ff6f7fc..60f8fb71c83 100644 --- a/src/tests/ftest/soak/soak_harassers.py +++ b/src/tests/ftest/soak/soak_harassers.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ 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 6b61a38fec6..b999a3d3375 100644 --- a/src/tests/ftest/soak/soak_smoke.py +++ b/src/tests/ftest/soak/soak_smoke.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ 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 47382618fd4..cdecb12d043 100644 --- a/src/tests/ftest/soak/soak_stress_2h.py +++ b/src/tests/ftest/soak/soak_stress_2h.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ 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 0b84235078a..2af7df41041 100644 --- a/src/tests/ftest/soak/soak_stress_48h.py +++ b/src/tests/ftest/soak/soak_stress_48h.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ 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 5dbd0bc564d..33c3f077ee5 100644 --- a/src/tests/ftest/soak/soak_test_base.py +++ b/src/tests/ftest/soak/soak_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2019-2020 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ import os diff --git a/src/tests/ftest/soak/soak_utils.py b/src/tests/ftest/soak/soak_utils.py index 0384399b67e..5ae09e37e51 100644 --- a/src/tests/ftest/soak/soak_utils.py +++ b/src/tests/ftest/soak/soak_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2019 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ import os diff --git a/src/tests/ftest/unittest/unittest.py b/src/tests/ftest/unittest/unittest.py index 2ae46e82695..5ccee48bcf3 100755 --- a/src/tests/ftest/unittest/unittest.py +++ b/src/tests/ftest/unittest/unittest.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 e63b250817e..15157dfa053 100755 --- a/src/tests/ftest/util/agent_utils.py +++ b/src/tests/ftest/util/agent_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import socket diff --git a/src/tests/ftest/util/agent_utils_params.py b/src/tests/ftest/util/agent_utils_params.py index 1f061eb0276..64479c3dcef 100644 --- a/src/tests/ftest/util/agent_utils_params.py +++ b/src/tests/ftest/util/agent_utils_params.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import os diff --git a/src/tests/ftest/util/apricot/apricot/test.py b/src/tests/ftest/util/apricot/apricot/test.py index c0d512ea210..39f4e8a9f2c 100644 --- a/src/tests/ftest/util/apricot/apricot/test.py +++ b/src/tests/ftest/util/apricot/apricot/test.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ # 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 6c87838d3f6..f04b1f5d2c9 100644 --- a/src/tests/ftest/util/check_for_pool.py +++ b/src/tests/ftest/util/check_for_pool.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2017-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from __future__ import print_function diff --git a/src/tests/ftest/util/command_utils.py b/src/tests/ftest/util/command_utils.py index 5ef2e9e15c9..a07066d07c0 100644 --- a/src/tests/ftest/util/command_utils.py +++ b/src/tests/ftest/util/command_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 c7c32d5adbb..9b81bc86613 100644 --- a/src/tests/ftest/util/command_utils_base.py +++ b/src/tests/ftest/util/command_utils_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 bd1f61595f2..70496895a33 100644 --- a/src/tests/ftest/util/configuration_utils.py +++ b/src/tests/ftest/util/configuration_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 7b2c533b820..9485ad4e95f 100755 --- a/src/tests/ftest/util/cont_security_test_base.py +++ b/src/tests/ftest/util/cont_security_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import os diff --git a/src/tests/ftest/util/control_test_base.py b/src/tests/ftest/util/control_test_base.py index 4a51d1b05bc..5cdadde28c0 100644 --- a/src/tests/ftest/util/control_test_base.py +++ b/src/tests/ftest/util/control_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 a4b257c66c8..c5a8b18e3e0 100644 --- a/src/tests/ftest/util/daos_core_base.py +++ b/src/tests/ftest/util/daos_core_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import os diff --git a/src/tests/ftest/util/daos_io_conf.py b/src/tests/ftest/util/daos_io_conf.py index cef5a8d8732..0c8880c0263 100644 --- a/src/tests/ftest/util/daos_io_conf.py +++ b/src/tests/ftest/util/daos_io_conf.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 4a66a882127..6394019a1c4 100644 --- a/src/tests/ftest/util/daos_perf_base.py +++ b/src/tests/ftest/util/daos_perf_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ import re diff --git a/src/tests/ftest/util/daos_perf_utils.py b/src/tests/ftest/util/daos_perf_utils.py index 5ef8687dbfc..03b37398c03 100644 --- a/src/tests/ftest/util/daos_perf_utils.py +++ b/src/tests/ftest/util/daos_perf_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 40e1a4005f7..4449d2a4d2a 100644 --- a/src/tests/ftest/util/daos_racer_utils.py +++ b/src/tests/ftest/util/daos_racer_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 4db5cb91fea..cb4811d8ab3 100644 --- a/src/tests/ftest/util/daos_utils.py +++ b/src/tests/ftest/util/daos_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 a2b61ab53cf..c2b9ca60307 100644 --- a/src/tests/ftest/util/daos_utils_base.py +++ b/src/tests/ftest/util/daos_utils_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 5cf5480bc94..315d9809cbe 100644 --- a/src/tests/ftest/util/data_mover_test_base.py +++ b/src/tests/ftest/util/data_mover_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2020 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ 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 858624c4e94..267e82d76db 100644 --- a/src/tests/ftest/util/data_mover_utils.py +++ b/src/tests/ftest/util/data_mover_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 39d8af6b07b..772ccf43eca 100644 --- a/src/tests/ftest/util/dfuse_test_base.py +++ b/src/tests/ftest/util/dfuse_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2020 Intel Corporation. +(C) Copyright 2020-2021 Intel Corporation. -SPDX-License-Identifier: BSD-2-Clause-Patent +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE +The Government's rights to use, modify, reproduce, release, perform, +display, or disclose this software are subject to the terms of the Apache +License as provided in Contract No. B609815. +Any reproduction of computer software, computer software documentation, or +portions thereof marked with this legend must also reproduce the markings. """ from ClusterShell.NodeSet import NodeSet diff --git a/src/tests/ftest/util/dfuse_utils.py b/src/tests/ftest/util/dfuse_utils.py index c050c2b1dae..bdca5bbdac0 100644 --- a/src/tests/ftest/util/dfuse_utils.py +++ b/src/tests/ftest/util/dfuse_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 b89c7ab3905..12b3c9f2428 100644 --- a/src/tests/ftest/util/dmg_utils.py +++ b/src/tests/ftest/util/dmg_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 af2f96babfe..cbd4ebbd446 100644 --- a/src/tests/ftest/util/dmg_utils_base.py +++ b/src/tests/ftest/util/dmg_utils_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 02e8f37b610..ccc879421a6 100644 --- a/src/tests/ftest/util/dmg_utils_params.py +++ b/src/tests/ftest/util/dmg_utils_params.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ from command_utils_base import \ diff --git a/src/tests/ftest/util/fault_config_utils.py b/src/tests/ftest/util/fault_config_utils.py index b29cc58f423..f2ce99f9ffe 100755 --- a/src/tests/ftest/util/fault_config_utils.py +++ b/src/tests/ftest/util/fault_config_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' import os diff --git a/src/tests/ftest/util/fio_test_base.py b/src/tests/ftest/util/fio_test_base.py index 8451f82c368..8315bdc7024 100755 --- a/src/tests/ftest/util/fio_test_base.py +++ b/src/tests/ftest/util/fio_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 5c3704ffde9..60f7c19b7ad 100644 --- a/src/tests/ftest/util/fio_utils.py +++ b/src/tests/ftest/util/fio_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from general_utils import pcmd diff --git a/src/tests/ftest/util/general_utils.py b/src/tests/ftest/util/general_utils.py index e44cfbfa092..ef723852377 100644 --- a/src/tests/ftest/util/general_utils.py +++ b/src/tests/ftest/util/general_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 a061c0d1d94..86db56df12d 100644 --- a/src/tests/ftest/util/get_hosts_from_file.py +++ b/src/tests/ftest/util/get_hosts_from_file.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. ''' from __future__ import print_function diff --git a/src/tests/ftest/util/io_utilities.py b/src/tests/ftest/util/io_utilities.py index c394c3ae63c..eb738bcee92 100644 --- a/src/tests/ftest/util/io_utilities.py +++ b/src/tests/ftest/util/io_utilities.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' 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 d518fc13975..6c6a71941fd 100644 --- a/src/tests/ftest/util/ior_test_base.py +++ b/src/tests/ftest/util/ior_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2020 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ import os import threading diff --git a/src/tests/ftest/util/ior_utils.py b/src/tests/ftest/util/ior_utils.py index 0e6c007d288..ed20c14d9f5 100644 --- a/src/tests/ftest/util/ior_utils.py +++ b/src/tests/ftest/util/ior_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2018-2020 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ 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 a163891654d..9cffab59af4 100644 --- a/src/tests/ftest/util/job_manager_utils.py +++ b/src/tests/ftest/util/job_manager_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 f9b4c30db26..17213fe4427 100644 --- a/src/tests/ftest/util/logger_utils.py +++ b/src/tests/ftest/util/logger_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 7dbd37dfd85..3ab8557e016 100644 --- a/src/tests/ftest/util/macsio_test_base.py +++ b/src/tests/ftest/util/macsio_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 9591578e789..4fd6a5cd7e4 100644 --- a/src/tests/ftest/util/macsio_util.py +++ b/src/tests/ftest/util/macsio_util.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 8246c1e03cc..cc971217f13 100755 --- a/src/tests/ftest/util/mdtest_test_base.py +++ b/src/tests/ftest/util/mdtest_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 9221f249fdf..082fca67399 100644 --- a/src/tests/ftest/util/mdtest_utils.py +++ b/src/tests/ftest/util/mdtest_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ from __future__ import print_function diff --git a/src/tests/ftest/util/mpio_utils.py b/src/tests/ftest/util/mpio_utils.py index 71b5ff3dbe7..d6737ec0aaa 100644 --- a/src/tests/ftest/util/mpio_utils.py +++ b/src/tests/ftest/util/mpio_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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 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. """ from __future__ import print_function diff --git a/src/tests/ftest/util/nvme_utils.py b/src/tests/ftest/util/nvme_utils.py index 0b93c544ee9..6ec65135299 100644 --- a/src/tests/ftest/util/nvme_utils.py +++ b/src/tests/ftest/util/nvme_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import threading import re diff --git a/src/tests/ftest/util/osa_utils.py b/src/tests/ftest/util/osa_utils.py index a872d14f4af..fe6944c7c4b 100644 --- a/src/tests/ftest/util/osa_utils.py +++ b/src/tests/ftest/util/osa_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 98cf723c62a..e2989108346 100755 --- a/src/tests/ftest/util/pool_security_test_base.py +++ b/src/tests/ftest/util/pool_security_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 46a677c41a4..aa5be30903b 100644 --- a/src/tests/ftest/util/pool_test_base.py +++ b/src/tests/ftest/util/pool_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2020 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ import time diff --git a/src/tests/ftest/util/rebuild_test_base.py b/src/tests/ftest/util/rebuild_test_base.py index 692c1273b21..444e32a6637 100644 --- a/src/tests/ftest/util/rebuild_test_base.py +++ b/src/tests/ftest/util/rebuild_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 8a8e7188caa..5ebe3e735e4 100644 --- a/src/tests/ftest/util/security_test_base.py +++ b/src/tests/ftest/util/security_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import os diff --git a/src/tests/ftest/util/server_utils.py b/src/tests/ftest/util/server_utils.py index 59f162754b9..ac9a3e79f82 100644 --- a/src/tests/ftest/util/server_utils.py +++ b/src/tests/ftest/util/server_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 43fd9342161..70127f70d4e 100644 --- a/src/tests/ftest/util/server_utils_params.py +++ b/src/tests/ftest/util/server_utils_params.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ import os diff --git a/src/tests/ftest/util/slurm_utils.py b/src/tests/ftest/util/slurm_utils.py index c4c2bb4ecff..7b32b2d1be3 100644 --- a/src/tests/ftest/util/slurm_utils.py +++ b/src/tests/ftest/util/slurm_utils.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2019 Intel Corporation. - -SPDX-License-Identifier: BSD-2-Clause-Patent +(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. """ 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 e2a11dc0e5f..2eb25a4a66f 100644 --- a/src/tests/ftest/util/test_utils_base.py +++ b/src/tests/ftest/util/test_utils_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 3e97974f44f..ba89680355b 100644 --- a/src/tests/ftest/util/test_utils_container.py +++ b/src/tests/ftest/util/test_utils_container.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 23c19a47ace..c2281d4f21c 100644 --- a/src/tests/ftest/util/test_utils_pool.py +++ b/src/tests/ftest/util/test_utils_pool.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. """ 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 1d712aab58c..ca36269e7d4 100644 --- a/src/tests/ftest/util/vol_test_base.py +++ b/src/tests/ftest/util/vol_test_base.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ -(C) Copyright 2020 Intel Corporation. +(C) Copyright 2020-2021 Intel Corporation. -SPDX-License-Identifier: BSD-2-Clause-Patent +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE +The Government's rights to use, modify, reproduce, release, perform, +display, or disclose this software are subject to the terms of the Apache +License as provided in Contract No. B609815. +Any reproduction of computer software, computer software documentation, or +portions thereof marked with this legend must also reproduce the markings. """ import os diff --git a/src/tests/ftest/util/write_host_file.py b/src/tests/ftest/util/write_host_file.py index 522f8f33ff9..8c76074ff2b 100644 --- a/src/tests/ftest/util/write_host_file.py +++ b/src/tests/ftest/util/write_host_file.py @@ -1,8 +1,25 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - SPDX-License-Identifier: BSD-2-Clause-Patent + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + The Government's rights to use, modify, reproduce, release, perform, display, + or disclose this software are subject to the terms of the Apache License as + provided in Contract No. B609815. + Any reproduction of computer software, computer software documentation, or + portions thereof marked with this legend must also reproduce the markings. """ 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 6aa6ed78281..09e4e5088be 100755 --- a/src/tests/ftest/util/write_some_data.py +++ b/src/tests/ftest/util/write_some_data.py @@ -1,8 +1,25 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - SPDX-License-Identifier: BSD-2-Clause-Patent + (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. ''' from __future__ import print_function 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 From 16c6ee81cf0029b052c72b97e7ca6a4bb2a14d62 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Thu, 21 Jan 2021 18:45:47 +0000 Subject: [PATCH 04/20] DAOS-6338 DAOS:Change DAOS license text Changed all .py file in src/tests/ftest after Copyright date updated. Skip-build: true Skip-test: true Change-Id: Iefdec06dbe031ddbcbb2df8928767b4cfc83b6b0 Signed-off-by: Hua Kuang --- .../ftest/aggregation/aggregation_basic.py | 19 +-------------- .../ftest/aggregation/aggregation_checksum.py | 19 +-------------- .../ftest/aggregation/aggregation_io_small.py | 19 +-------------- .../ftest/aggregation/aggregation_punching.py | 19 +-------------- .../aggregation/aggregation_throttling.py | 19 +-------------- .../ftest/aggregation/dfuse_space_check.py | 19 +-------------- src/tests/ftest/avocado_tests.py | 19 +-------------- .../ftest/cart/corpc/cart_corpc_five_node.py | 19 +-------------- .../ftest/cart/corpc/cart_corpc_one_node.py | 19 +-------------- .../ftest/cart/corpc/cart_corpc_two_node.py | 19 +-------------- .../ftest/cart/ctl/cart_ctl_five_node.py | 19 +-------------- src/tests/ftest/cart/ctl/cart_ctl_one_node.py | 19 +-------------- .../cart_ghost_rank_prc_one_node.py | 19 +-------------- src/tests/ftest/cart/group_test/group_test.py | 19 +-------------- src/tests/ftest/cart/iv/cart_iv_one_node.py | 19 +-------------- src/tests/ftest/cart/iv/cart_iv_two_node.py | 19 +-------------- .../no_pmix/cart_nopmix_multictx_one_node.py | 19 +-------------- .../cart_nopmix_launcher_one_node.py | 19 +-------------- src/tests/ftest/cart/rpc/cart_rpc_one_node.py | 19 +-------------- src/tests/ftest/cart/rpc/cart_rpc_two_node.py | 19 +-------------- .../cart/selftest/cart_selftest_three_node.py | 19 +-------------- src/tests/ftest/cart/util/cart_utils.py | 19 +-------------- src/tests/ftest/checksum/basic_checksum.py | 19 +-------------- .../ftest/checksum/csum_error_logging.py | 19 +-------------- src/tests/ftest/config_file_gen.py | 19 +-------------- src/tests/ftest/container/attribute.py | 19 +-------------- src/tests/ftest/container/basic_snapshot.py | 19 +-------------- src/tests/ftest/container/basic_tx_test.py | 19 +-------------- src/tests/ftest/container/container_async.py | 19 +-------------- src/tests/ftest/container/container_check.py | 19 +-------------- src/tests/ftest/container/create.py | 19 +-------------- src/tests/ftest/container/delete.py | 19 +-------------- .../container/full_pool_container_create.py | 19 +-------------- src/tests/ftest/container/global_handle.py | 19 +-------------- src/tests/ftest/container/list_containers.py | 19 +-------------- .../container/multiple_container_delete.py | 19 +-------------- src/tests/ftest/container/open.py | 19 +-------------- src/tests/ftest/container/open_close.py | 19 +-------------- src/tests/ftest/container/query_attribute.py | 19 +-------------- .../ftest/container/root_container_test.py | 19 +-------------- .../container/simple_create_delete_test.py | 19 +-------------- src/tests/ftest/container/snapshot.py | 19 +-------------- .../ftest/container/snapshot_aggregation.py | 19 +-------------- .../ftest/control/daos_admin_privileged.py | 19 +-------------- src/tests/ftest/control/daos_agent_config.py | 19 +-------------- .../ftest/control/daos_control_config.py | 19 +-------------- src/tests/ftest/control/daos_object_query.py | 19 +-------------- src/tests/ftest/control/daos_scm_config.py | 19 +-------------- src/tests/ftest/control/daos_snapshot.py | 19 +-------------- src/tests/ftest/control/dmg_network_scan.py | 19 +-------------- src/tests/ftest/control/dmg_nvme_scan_test.py | 19 +-------------- src/tests/ftest/control/dmg_pool_evict.py | 19 +-------------- .../ftest/control/dmg_pool_query_test.py | 19 +-------------- src/tests/ftest/control/dmg_storage_query.py | 19 +-------------- .../ftest/control/dmg_storage_scan_scm.py | 19 +-------------- .../ftest/control/dmg_system_leader_query.py | 19 +-------------- .../ftest/control/dmg_system_reformat.py | 19 +-------------- src/tests/ftest/control/ssd_socket.py | 19 +-------------- .../ftest/control/super_block_versioning.py | 19 +-------------- .../daos_test/daos_core_test-nvme_recovery.py | 19 +-------------- .../ftest/daos_test/daos_core_test-rebuild.py | 19 +-------------- src/tests/ftest/daos_test/daos_core_test.py | 19 +-------------- .../ftest/daos_test/daos_core_test_dfs.py | 19 +-------------- src/tests/ftest/datamover/container_copy.py | 16 +------------ src/tests/ftest/datamover/copy_basics.py | 19 +-------------- src/tests/ftest/datamover/copy_negative.py | 19 +-------------- src/tests/ftest/datamover/copy_procs.py | 19 +-------------- src/tests/ftest/erasurecode/ec_ior_smoke.py | 19 +-------------- .../ftest/erasurecode/ec_mdtest_smoke.py | 19 +-------------- .../ftest/erasurecode/ec_offline_rebuild.py | 21 ++--------------- .../ftest/erasurecode/ec_online_rebuild.py | 21 ++--------------- .../ftest/erasurecode/ec_rebuild_disabled.py | 21 ++--------------- src/tests/ftest/io/crash_ior.py | 19 +-------------- src/tests/ftest/io/daos_perf.py | 19 +-------------- src/tests/ftest/io/daos_perf_large.py | 19 +-------------- src/tests/ftest/io/daos_racer.py | 19 +-------------- src/tests/ftest/io/daos_vol.py | 19 +-------------- src/tests/ftest/io/dfuse_bash_cmd.py | 19 +-------------- src/tests/ftest/io/dfuse_find_cmd.py | 19 +-------------- src/tests/ftest/io/dfuse_sparse_file.py | 19 +-------------- src/tests/ftest/io/fio_small.py | 19 +-------------- src/tests/ftest/io/hdf5.py | 19 +-------------- src/tests/ftest/io/io_aggregation.py | 19 +-------------- src/tests/ftest/io/io_consistency.py | 16 +------------ src/tests/ftest/io/ior_hdf5.py | 19 +-------------- src/tests/ftest/io/ior_intercept_basic.py | 19 +-------------- src/tests/ftest/io/ior_intercept_dfuse_mix.py | 19 +-------------- .../ftest/io/ior_intercept_multi_client.py | 19 +-------------- .../io/ior_intercept_verify_data_integrity.py | 19 +-------------- src/tests/ftest/io/ior_large.py | 19 +-------------- src/tests/ftest/io/ior_small.py | 19 +-------------- src/tests/ftest/io/large_file_count.py | 16 +------------ src/tests/ftest/io/llnl_mpi4py.py | 19 +-------------- src/tests/ftest/io/macsio_test.py | 19 +-------------- src/tests/ftest/io/mdtest_large.py | 19 +-------------- src/tests/ftest/io/mdtest_small.py | 19 +-------------- src/tests/ftest/io/parallel_io.py | 19 +-------------- src/tests/ftest/io/romio.py | 19 +-------------- src/tests/ftest/io/seg_count.py | 19 +-------------- src/tests/ftest/io/unaligned_io.py | 19 +-------------- src/tests/ftest/launch.py | 19 +-------------- src/tests/ftest/metrics.py | 19 +-------------- src/tests/ftest/network/cart_self_test.py | 19 +-------------- src/tests/ftest/network/zero_config.py | 19 +-------------- src/tests/ftest/nvme/enospace.py | 19 +-------------- src/tests/ftest/nvme/nvme_fault.py | 19 +-------------- src/tests/ftest/nvme/nvme_fragmentation.py | 19 +-------------- src/tests/ftest/nvme/nvme_health.py | 19 +-------------- src/tests/ftest/nvme/nvme_io.py | 19 +-------------- src/tests/ftest/nvme/nvme_io_stats.py | 19 +-------------- src/tests/ftest/nvme/nvme_io_verification.py | 19 +-------------- src/tests/ftest/nvme/nvme_object.py | 19 +-------------- src/tests/ftest/nvme/nvme_pool_capacity.py | 19 +-------------- src/tests/ftest/nvme/nvme_pool_exclude.py | 19 +-------------- src/tests/ftest/nvme/nvme_pool_extend.py | 19 +-------------- src/tests/ftest/object/array_obj_test.py | 19 +-------------- src/tests/ftest/object/create_many_dkeys.py | 19 +-------------- src/tests/ftest/object/obj_fetch_bad_param.py | 19 +-------------- src/tests/ftest/object/obj_open_bad_param.py | 19 +-------------- .../ftest/object/obj_update_bad_param.py | 19 +-------------- src/tests/ftest/object/object_integrity.py | 19 +-------------- src/tests/ftest/object/punch_test.py | 19 +-------------- .../ftest/object/same_key_different_value.py | 19 +-------------- src/tests/ftest/osa/osa_offline_drain.py | 19 +-------------- src/tests/ftest/osa/osa_offline_extend.py | 19 +-------------- .../ftest/osa/osa_offline_parallel_test.py | 19 +-------------- .../ftest/osa/osa_offline_reintegration.py | 19 +-------------- src/tests/ftest/osa/osa_online_drain.py | 19 +-------------- src/tests/ftest/osa/osa_online_extend.py | 19 +-------------- .../ftest/osa/osa_online_parallel_test.py | 19 +-------------- .../ftest/osa/osa_online_reintegration.py | 19 +-------------- src/tests/ftest/pool/attribute.py | 19 +-------------- src/tests/ftest/pool/bad_connect.py | 19 +-------------- src/tests/ftest/pool/bad_create.py | 19 +-------------- src/tests/ftest/pool/bad_evict.py | 19 +-------------- src/tests/ftest/pool/bad_exclude.py | 19 +-------------- src/tests/ftest/pool/bad_query.py | 19 +-------------- src/tests/ftest/pool/connect_test.py | 19 +-------------- src/tests/ftest/pool/create_capacity_test.py | 19 +-------------- src/tests/ftest/pool/create_test.py | 19 +-------------- src/tests/ftest/pool/destroy_rebuild.py | 19 +-------------- src/tests/ftest/pool/destroy_tests.py | 19 +-------------- src/tests/ftest/pool/dynamic_server_pool.py | 19 +-------------- src/tests/ftest/pool/evict_test.py | 19 +-------------- src/tests/ftest/pool/global_handle.py | 19 +-------------- src/tests/ftest/pool/info_tests.py | 19 +-------------- src/tests/ftest/pool/list_pools.py | 19 +-------------- .../pool/multi_server_create_delete_test.py | 19 +-------------- src/tests/ftest/pool/multiple_creates_test.py | 19 +-------------- src/tests/ftest/pool/permission.py | 19 +-------------- src/tests/ftest/pool/pool_svc.py | 19 +-------------- src/tests/ftest/pool/query_attribute.py | 19 +-------------- src/tests/ftest/pool/rebuild_no_cap.py | 19 +-------------- src/tests/ftest/pool/rebuild_tests.py | 19 +-------------- src/tests/ftest/pool/rebuild_with_io.py | 19 +-------------- src/tests/ftest/pool/rebuild_with_ior.py | 19 +-------------- .../ftest/pool/simple_create_delete_test.py | 19 +-------------- src/tests/ftest/pool/storage_ratio.py | 19 +-------------- src/tests/ftest/rebuild/cascading_failures.py | 19 +-------------- src/tests/ftest/rebuild/container_create.py | 19 +-------------- src/tests/ftest/rebuild/delete_objects.py | 19 +-------------- src/tests/ftest/rebuild/io_conf_run.py | 19 +-------------- .../ftest/rebuild/pool_destroy_rebuild.py | 23 +++---------------- src/tests/ftest/rebuild/read_array.py | 19 +-------------- src/tests/ftest/security/cont_create_acl.py | 19 +-------------- src/tests/ftest/security/cont_delete_acl.py | 19 +-------------- src/tests/ftest/security/cont_get_acl.py | 19 +-------------- .../ftest/security/cont_overwrite_acl.py | 19 +-------------- src/tests/ftest/security/cont_update_acl.py | 19 +-------------- .../ftest/security/container_security_acl.py | 19 +-------------- src/tests/ftest/security/pool_connect_init.py | 19 +-------------- src/tests/ftest/security/pool_security_acl.py | 19 +-------------- .../ftest/security/pool_security_groups.py | 19 +-------------- src/tests/ftest/server/cpu_usage.py | 19 +-------------- src/tests/ftest/server/daos_server_config.py | 19 +-------------- src/tests/ftest/server/daos_server_restart.py | 19 +-------------- src/tests/ftest/server/dynamic_start_stop.py | 19 +-------------- src/tests/ftest/server/metadata.py | 19 +-------------- src/tests/ftest/slurm_setup.py | 19 +-------------- src/tests/ftest/soak/soak_faults.py | 19 +-------------- src/tests/ftest/soak/soak_harassers.py | 19 +-------------- src/tests/ftest/soak/soak_smoke.py | 19 +-------------- src/tests/ftest/soak/soak_stress_2h.py | 19 +-------------- src/tests/ftest/soak/soak_stress_48h.py | 19 +-------------- src/tests/ftest/soak/soak_test_base.py | 19 +-------------- src/tests/ftest/soak/soak_utils.py | 19 +-------------- src/tests/ftest/unittest/unittest.py | 19 +-------------- src/tests/ftest/util/agent_utils.py | 19 +-------------- src/tests/ftest/util/agent_utils_params.py | 19 +-------------- src/tests/ftest/util/apricot/apricot/test.py | 19 +-------------- src/tests/ftest/util/check_for_pool.py | 19 +-------------- src/tests/ftest/util/command_utils.py | 19 +-------------- src/tests/ftest/util/command_utils_base.py | 19 +-------------- src/tests/ftest/util/configuration_utils.py | 19 +-------------- .../ftest/util/cont_security_test_base.py | 19 +-------------- src/tests/ftest/util/control_test_base.py | 19 +-------------- src/tests/ftest/util/daos_core_base.py | 19 +-------------- src/tests/ftest/util/daos_io_conf.py | 19 +-------------- src/tests/ftest/util/daos_perf_base.py | 19 +-------------- src/tests/ftest/util/daos_perf_utils.py | 19 +-------------- src/tests/ftest/util/daos_racer_utils.py | 19 +-------------- src/tests/ftest/util/daos_utils.py | 19 +-------------- src/tests/ftest/util/daos_utils_base.py | 19 +-------------- src/tests/ftest/util/data_mover_test_base.py | 19 +-------------- src/tests/ftest/util/data_mover_utils.py | 19 +-------------- src/tests/ftest/util/dfuse_test_base.py | 19 +-------------- src/tests/ftest/util/dfuse_utils.py | 19 +-------------- src/tests/ftest/util/dmg_utils.py | 19 +-------------- src/tests/ftest/util/dmg_utils_base.py | 19 +-------------- src/tests/ftest/util/dmg_utils_params.py | 19 +-------------- src/tests/ftest/util/ec_utils.py | 21 ++--------------- src/tests/ftest/util/fault_config_utils.py | 19 +-------------- src/tests/ftest/util/fio_test_base.py | 19 +-------------- src/tests/ftest/util/fio_utils.py | 19 +-------------- src/tests/ftest/util/general_utils.py | 19 +-------------- src/tests/ftest/util/get_hosts_from_file.py | 19 +-------------- src/tests/ftest/util/io_utilities.py | 19 +-------------- src/tests/ftest/util/ior_test_base.py | 19 +-------------- src/tests/ftest/util/ior_utils.py | 19 +-------------- src/tests/ftest/util/job_manager_utils.py | 19 +-------------- src/tests/ftest/util/logger_utils.py | 19 +-------------- src/tests/ftest/util/macsio_test_base.py | 19 +-------------- src/tests/ftest/util/macsio_util.py | 19 +-------------- src/tests/ftest/util/mdtest_test_base.py | 19 +-------------- src/tests/ftest/util/mdtest_utils.py | 19 +-------------- src/tests/ftest/util/mpio_utils.py | 19 +-------------- src/tests/ftest/util/nvme_utils.py | 19 +-------------- src/tests/ftest/util/osa_utils.py | 19 +-------------- .../ftest/util/pool_security_test_base.py | 19 +-------------- src/tests/ftest/util/pool_test_base.py | 19 +-------------- src/tests/ftest/util/rebuild_test_base.py | 19 +-------------- src/tests/ftest/util/security_test_base.py | 19 +-------------- src/tests/ftest/util/server_utils.py | 19 +-------------- src/tests/ftest/util/server_utils_params.py | 19 +-------------- src/tests/ftest/util/slurm_utils.py | 19 +-------------- src/tests/ftest/util/test_utils_base.py | 19 +-------------- src/tests/ftest/util/test_utils_container.py | 19 +-------------- src/tests/ftest/util/test_utils_pool.py | 19 +-------------- src/tests/ftest/util/vol_test_base.py | 19 +-------------- src/tests/ftest/util/write_host_file.py | 19 +-------------- src/tests/ftest/util/write_some_data.py | 19 +-------------- 241 files changed, 247 insertions(+), 4335 deletions(-) diff --git a/src/tests/ftest/aggregation/aggregation_basic.py b/src/tests/ftest/aggregation/aggregation_basic.py index e02c64eac44..68ae0ea480f 100644 --- a/src/tests/ftest/aggregation/aggregation_basic.py +++ b/src/tests/ftest/aggregation/aggregation_basic.py @@ -2,24 +2,7 @@ """ (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_checksum.py b/src/tests/ftest/aggregation/aggregation_checksum.py index 0cc4087ffd9..875b9a969ab 100644 --- a/src/tests/ftest/aggregation/aggregation_checksum.py +++ b/src/tests/ftest/aggregation/aggregation_checksum.py @@ -2,24 +2,7 @@ """ (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 cef0e6ceb25..7e6644df6d2 100644 --- a/src/tests/ftest/aggregation/aggregation_io_small.py +++ b/src/tests/ftest/aggregation/aggregation_io_small.py @@ -2,24 +2,7 @@ """ (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_punching.py b/src/tests/ftest/aggregation/aggregation_punching.py index 788e4feb434..af423bb3bae 100644 --- a/src/tests/ftest/aggregation/aggregation_punching.py +++ b/src/tests/ftest/aggregation/aggregation_punching.py @@ -2,24 +2,7 @@ """ (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_throttling.py b/src/tests/ftest/aggregation/aggregation_throttling.py index 17817cacace..2f297b7f987 100644 --- a/src/tests/ftest/aggregation/aggregation_throttling.py +++ b/src/tests/ftest/aggregation/aggregation_throttling.py @@ -2,24 +2,7 @@ """ (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/dfuse_space_check.py b/src/tests/ftest/aggregation/dfuse_space_check.py index 09fe1ec5817..ebd7362f5bd 100644 --- a/src/tests/ftest/aggregation/dfuse_space_check.py +++ b/src/tests/ftest/aggregation/dfuse_space_check.py @@ -2,24 +2,7 @@ """ (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/avocado_tests.py b/src/tests/ftest/avocado_tests.py index 8c4012a5dcd..fe4a9b9482b 100755 --- a/src/tests/ftest/avocado_tests.py +++ b/src/tests/ftest/avocado_tests.py @@ -2,24 +2,7 @@ """ (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 """ import time 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 df1e129437e..ed7f72a8907 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_five_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_five_node.py @@ -2,24 +2,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 ''' 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 eb9c7c0637e..2e7caca3ade 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_one_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_one_node.py @@ -2,24 +2,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 ''' 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 6f354de95d7..7b3d9d8cf08 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_two_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_two_node.py @@ -2,24 +2,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 ''' from __future__ import print_function 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 5e2ed931387..058a255526c 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_five_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_five_node.py @@ -2,24 +2,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 ''' 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 8ee60626553..c5b09135654 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_one_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_one_node.py @@ -2,24 +2,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 ''' from __future__ import print_function 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 4be31ba1914..ec8d1c022c9 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 @@ -2,24 +2,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 ''' 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 827de886aa3..fa8c332ec7d 100755 --- a/src/tests/ftest/cart/group_test/group_test.py +++ b/src/tests/ftest/cart/group_test/group_test.py @@ -2,24 +2,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 ''' 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 15739a418ef..4d76a6fb182 100755 --- a/src/tests/ftest/cart/iv/cart_iv_one_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_one_node.py @@ -2,24 +2,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 ''' 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 892a546b394..9808635745b 100755 --- a/src/tests/ftest/cart/iv/cart_iv_two_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_two_node.py @@ -2,24 +2,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 ''' from __future__ import print_function 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 e618feeea0e..d2235d90e95 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 @@ -2,24 +2,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 ''' from __future__ import print_function 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 232754347f7..8bafcea04ae 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 @@ -2,24 +2,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 ''' 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 005ee6ad1da..1e2f8397621 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_one_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_one_node.py @@ -2,24 +2,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 ''' 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 2e432cd2862..be219036112 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_two_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_two_node.py @@ -2,24 +2,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 ''' from __future__ import print_function 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 587d4e08d18..07e7acec098 100755 --- a/src/tests/ftest/cart/selftest/cart_selftest_three_node.py +++ b/src/tests/ftest/cart/selftest/cart_selftest_three_node.py @@ -2,24 +2,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 ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/util/cart_utils.py b/src/tests/ftest/cart/util/cart_utils.py index e8a85ee9233..a5d0e63b187 100755 --- a/src/tests/ftest/cart/util/cart_utils.py +++ b/src/tests/ftest/cart/util/cart_utils.py @@ -2,24 +2,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 ''' 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 25d94199577..f3b0dfe85c6 100644 --- a/src/tests/ftest/checksum/basic_checksum.py +++ b/src/tests/ftest/checksum/basic_checksum.py @@ -2,24 +2,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 """ import ctypes diff --git a/src/tests/ftest/checksum/csum_error_logging.py b/src/tests/ftest/checksum/csum_error_logging.py index ee7cf470b01..1db507431d9 100644 --- a/src/tests/ftest/checksum/csum_error_logging.py +++ b/src/tests/ftest/checksum/csum_error_logging.py @@ -2,24 +2,7 @@ """ (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 45b1fe421bb..9595d3fd3f0 100755 --- a/src/tests/ftest/config_file_gen.py +++ b/src/tests/ftest/config_file_gen.py @@ -2,24 +2,7 @@ """ (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 logging from argparse import ArgumentParser, RawDescriptionHelpFormatter diff --git a/src/tests/ftest/container/attribute.py b/src/tests/ftest/container/attribute.py index cc80f15354a..e5b571feaeb 100755 --- a/src/tests/ftest/container/attribute.py +++ b/src/tests/ftest/container/attribute.py @@ -2,24 +2,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 ''' from __future__ import print_function diff --git a/src/tests/ftest/container/basic_snapshot.py b/src/tests/ftest/container/basic_snapshot.py index 79c5789feb1..24768850882 100755 --- a/src/tests/ftest/container/basic_snapshot.py +++ b/src/tests/ftest/container/basic_snapshot.py @@ -2,24 +2,7 @@ """ (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 random diff --git a/src/tests/ftest/container/basic_tx_test.py b/src/tests/ftest/container/basic_tx_test.py index 34ea7a33a39..264b3a0fe4e 100755 --- a/src/tests/ftest/container/basic_tx_test.py +++ b/src/tests/ftest/container/basic_tx_test.py @@ -2,24 +2,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 ''' from __future__ import print_function diff --git a/src/tests/ftest/container/container_async.py b/src/tests/ftest/container/container_async.py index 61978486cb3..35e5679d1a7 100755 --- a/src/tests/ftest/container/container_async.py +++ b/src/tests/ftest/container/container_async.py @@ -2,24 +2,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 ''' import traceback diff --git a/src/tests/ftest/container/container_check.py b/src/tests/ftest/container/container_check.py index b7812ac86df..9bf5efb526c 100644 --- a/src/tests/ftest/container/container_check.py +++ b/src/tests/ftest/container/container_check.py @@ -2,24 +2,7 @@ """ (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 9e972725988..195d9313c9f 100755 --- a/src/tests/ftest/container/create.py +++ b/src/tests/ftest/container/create.py @@ -2,24 +2,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 ''' from __future__ import print_function diff --git a/src/tests/ftest/container/delete.py b/src/tests/ftest/container/delete.py index 433c04a7ae3..1968b571aa3 100755 --- a/src/tests/ftest/container/delete.py +++ b/src/tests/ftest/container/delete.py @@ -2,24 +2,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 """ 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 e1b9ef523a3..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-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 51cbc7ff90b..538480a7e2f 100755 --- a/src/tests/ftest/container/global_handle.py +++ b/src/tests/ftest/container/global_handle.py @@ -2,24 +2,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 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 __future__ import print_function diff --git a/src/tests/ftest/container/list_containers.py b/src/tests/ftest/container/list_containers.py index 417be0a7eaf..713380f88d6 100755 --- a/src/tests/ftest/container/list_containers.py +++ b/src/tests/ftest/container/list_containers.py @@ -2,24 +2,7 @@ ''' (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 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 480dfc6cbcd..15d8a77b2a4 100644 --- a/src/tests/ftest/container/multiple_container_delete.py +++ b/src/tests/ftest/container/multiple_container_delete.py @@ -2,24 +2,7 @@ """ (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/container/open.py b/src/tests/ftest/container/open.py index 64917d68817..ca9955f36ee 100755 --- a/src/tests/ftest/container/open.py +++ b/src/tests/ftest/container/open.py @@ -2,24 +2,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 ''' import traceback import uuid diff --git a/src/tests/ftest/container/open_close.py b/src/tests/ftest/container/open_close.py index 2e48d1da243..199ead77645 100755 --- a/src/tests/ftest/container/open_close.py +++ b/src/tests/ftest/container/open_close.py @@ -2,24 +2,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 ''' import traceback import uuid diff --git a/src/tests/ftest/container/query_attribute.py b/src/tests/ftest/container/query_attribute.py index a528db33efb..efb9a4f84f0 100644 --- a/src/tests/ftest/container/query_attribute.py +++ b/src/tests/ftest/container/query_attribute.py @@ -2,24 +2,7 @@ """ (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/container/root_container_test.py b/src/tests/ftest/container/root_container_test.py index 1947de1b945..bc066b5af62 100644 --- a/src/tests/ftest/container/root_container_test.py +++ b/src/tests/ftest/container/root_container_test.py @@ -2,24 +2,7 @@ """ (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 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 876eae9be3e..41cc00b2c44 100755 --- a/src/tests/ftest/container/simple_create_delete_test.py +++ b/src/tests/ftest/container/simple_create_delete_test.py @@ -2,24 +2,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 """ 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 cc5ceb6055e..b103db74ba4 100755 --- a/src/tests/ftest/container/snapshot.py +++ b/src/tests/ftest/container/snapshot.py @@ -2,24 +2,7 @@ """ (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 traceback diff --git a/src/tests/ftest/container/snapshot_aggregation.py b/src/tests/ftest/container/snapshot_aggregation.py index b484a6e2fc7..804d1816f83 100644 --- a/src/tests/ftest/container/snapshot_aggregation.py +++ b/src/tests/ftest/container/snapshot_aggregation.py @@ -2,24 +2,7 @@ """ (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/control/daos_admin_privileged.py b/src/tests/ftest/control/daos_admin_privileged.py index f113c1f36e5..3fff135ef34 100644 --- a/src/tests/ftest/control/daos_admin_privileged.py +++ b/src/tests/ftest/control/daos_admin_privileged.py @@ -2,24 +2,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 """ 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 cce70a07cc6..f51409047ab 100644 --- a/src/tests/ftest/control/daos_agent_config.py +++ b/src/tests/ftest/control/daos_agent_config.py @@ -2,24 +2,7 @@ """ (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 ed6bdda5def..27bd85bb4d9 100644 --- a/src/tests/ftest/control/daos_control_config.py +++ b/src/tests/ftest/control/daos_control_config.py @@ -2,24 +2,7 @@ """ (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 bf085ee7565..928b7128522 100644 --- a/src/tests/ftest/control/daos_object_query.py +++ b/src/tests/ftest/control/daos_object_query.py @@ -2,24 +2,7 @@ """ (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 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 a11980fbee4..d0e9ece930f 100644 --- a/src/tests/ftest/control/daos_scm_config.py +++ b/src/tests/ftest/control/daos_scm_config.py @@ -2,24 +2,7 @@ """ (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 4ce2091f76a..0179b253e11 100755 --- a/src/tests/ftest/control/daos_snapshot.py +++ b/src/tests/ftest/control/daos_snapshot.py @@ -2,24 +2,7 @@ ''' (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 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 d76747953ec..233704384cc 100644 --- a/src/tests/ftest/control/dmg_network_scan.py +++ b/src/tests/ftest/control/dmg_network_scan.py @@ -2,24 +2,7 @@ """ (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/dmg_nvme_scan_test.py b/src/tests/ftest/control/dmg_nvme_scan_test.py index 3860272ebf7..45f069e9d29 100755 --- a/src/tests/ftest/control/dmg_nvme_scan_test.py +++ b/src/tests/ftest/control/dmg_nvme_scan_test.py @@ -2,24 +2,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 """ 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 498c9ffa6f5..e404f08a702 100644 --- a/src/tests/ftest/control/dmg_pool_evict.py +++ b/src/tests/ftest/control/dmg_pool_evict.py @@ -2,24 +2,7 @@ """ (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 3040a5ed2dd..8de5e3fb70c 100644 --- a/src/tests/ftest/control/dmg_pool_query_test.py +++ b/src/tests/ftest/control/dmg_pool_query_test.py @@ -2,24 +2,7 @@ """ (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/dmg_storage_query.py b/src/tests/ftest/control/dmg_storage_query.py index 630ddef5459..69c27533b1d 100644 --- a/src/tests/ftest/control/dmg_storage_query.py +++ b/src/tests/ftest/control/dmg_storage_query.py @@ -2,24 +2,7 @@ """ (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/dmg_storage_scan_scm.py b/src/tests/ftest/control/dmg_storage_scan_scm.py index e60e7aee5a3..498bc69d71f 100644 --- a/src/tests/ftest/control/dmg_storage_scan_scm.py +++ b/src/tests/ftest/control/dmg_storage_scan_scm.py @@ -2,24 +2,7 @@ """ (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 39bfcbd9785..7c5aadd1983 100644 --- a/src/tests/ftest/control/dmg_system_reformat.py +++ b/src/tests/ftest/control/dmg_system_reformat.py @@ -2,24 +2,7 @@ """ (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/ssd_socket.py b/src/tests/ftest/control/ssd_socket.py index 29a0b4c4408..70376b40c29 100644 --- a/src/tests/ftest/control/ssd_socket.py +++ b/src/tests/ftest/control/ssd_socket.py @@ -2,24 +2,7 @@ """ (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 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 8b804b7d458..1ba13407b7e 100644 --- a/src/tests/ftest/control/super_block_versioning.py +++ b/src/tests/ftest/control/super_block_versioning.py @@ -2,24 +2,7 @@ """ (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/daos_test/daos_core_test-nvme_recovery.py b/src/tests/ftest/daos_test/daos_core_test-nvme_recovery.py index e93f259549b..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 @@ -2,24 +2,7 @@ ''' (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_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 8c417df8031..4f6740bedf1 100755 --- a/src/tests/ftest/daos_test/daos_core_test-rebuild.py +++ b/src/tests/ftest/daos_test/daos_core_test-rebuild.py @@ -2,24 +2,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 ''' 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 f7c4f7bd125..a04c54f3705 100755 --- a/src/tests/ftest/daos_test/daos_core_test.py +++ b/src/tests/ftest/daos_test/daos_core_test.py @@ -2,24 +2,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 """ 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 236c99553bb..4c0dcccc896 100755 --- a/src/tests/ftest/daos_test/daos_core_test_dfs.py +++ b/src/tests/ftest/daos_test/daos_core_test_dfs.py @@ -2,24 +2,7 @@ """ (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/datamover/container_copy.py b/src/tests/ftest/datamover/container_copy.py index b7a9797f734..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-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/datamover/copy_basics.py b/src/tests/ftest/datamover/copy_basics.py index e0bcc0d1e94..c71a6cd3584 100644 --- a/src/tests/ftest/datamover/copy_basics.py +++ b/src/tests/ftest/datamover/copy_basics.py @@ -2,24 +2,7 @@ ''' (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/datamover/copy_negative.py b/src/tests/ftest/datamover/copy_negative.py index 0fd82abd327..ab17d7d16cb 100644 --- a/src/tests/ftest/datamover/copy_negative.py +++ b/src/tests/ftest/datamover/copy_negative.py @@ -2,24 +2,7 @@ ''' (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/datamover/copy_procs.py b/src/tests/ftest/datamover/copy_procs.py index 1a2ae2559e3..8d53b79e13b 100644 --- a/src/tests/ftest/datamover/copy_procs.py +++ b/src/tests/ftest/datamover/copy_procs.py @@ -2,24 +2,7 @@ ''' (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 e072afea210..9862a6d981d 100644 --- a/src/tests/ftest/erasurecode/ec_ior_smoke.py +++ b/src/tests/ftest/erasurecode/ec_ior_smoke.py @@ -2,24 +2,7 @@ ''' (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 4714c47976a..50bd0ce82fc 100644 --- a/src/tests/ftest/erasurecode/ec_mdtest_smoke.py +++ b/src/tests/ftest/erasurecode/ec_mdtest_smoke.py @@ -2,24 +2,7 @@ ''' (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 e666be45334..f48d2342ffe 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 diff --git a/src/tests/ftest/erasurecode/ec_online_rebuild.py b/src/tests/ftest/erasurecode/ec_online_rebuild.py index c2d5acc5372..5aee3d7657a 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 diff --git a/src/tests/ftest/erasurecode/ec_rebuild_disabled.py b/src/tests/ftest/erasurecode/ec_rebuild_disabled.py index d40b964b092..24dce04c9df 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 6b92e68e0fa..bf031d0f776 100644 --- a/src/tests/ftest/io/crash_ior.py +++ b/src/tests/ftest/io/crash_ior.py @@ -2,24 +2,7 @@ """ (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 61b4f46b1c1..d6167b27e40 100755 --- a/src/tests/ftest/io/daos_perf.py +++ b/src/tests/ftest/io/daos_perf.py @@ -2,24 +2,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 """ 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 6a42820bb8f..d26c5697029 100755 --- a/src/tests/ftest/io/daos_perf_large.py +++ b/src/tests/ftest/io/daos_perf_large.py @@ -2,24 +2,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 """ 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 8613e9bb7cc..ba0a6916025 100644 --- a/src/tests/ftest/io/daos_racer.py +++ b/src/tests/ftest/io/daos_racer.py @@ -2,24 +2,7 @@ """ (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 diff --git a/src/tests/ftest/io/daos_vol.py b/src/tests/ftest/io/daos_vol.py index 9ae31c90f2c..8f98f74fd0b 100644 --- a/src/tests/ftest/io/daos_vol.py +++ b/src/tests/ftest/io/daos_vol.py @@ -2,24 +2,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 """ 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 75154d91820..a587659e6ea 100644 --- a/src/tests/ftest/io/dfuse_bash_cmd.py +++ b/src/tests/ftest/io/dfuse_bash_cmd.py @@ -2,24 +2,7 @@ """ (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 2a6f32b5d54..f823a55b02b 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 b0b263dcf13..9b0a5999c54 100644 --- a/src/tests/ftest/io/dfuse_sparse_file.py +++ b/src/tests/ftest/io/dfuse_sparse_file.py @@ -2,24 +2,7 @@ """ (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 getpass import getuser diff --git a/src/tests/ftest/io/fio_small.py b/src/tests/ftest/io/fio_small.py index bbbb64742b8..e8e76b65bdd 100755 --- a/src/tests/ftest/io/fio_small.py +++ b/src/tests/ftest/io/fio_small.py @@ -2,24 +2,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 ''' from fio_test_base import FioBase diff --git a/src/tests/ftest/io/hdf5.py b/src/tests/ftest/io/hdf5.py index 38458d774c7..47294fdfd08 100644 --- a/src/tests/ftest/io/hdf5.py +++ b/src/tests/ftest/io/hdf5.py @@ -2,24 +2,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 """ 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 389372df419..2142a2ec785 100644 --- a/src/tests/ftest/io/io_aggregation.py +++ b/src/tests/ftest/io/io_aggregation.py @@ -2,24 +2,7 @@ """ (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/io_consistency.py b/src/tests/ftest/io/io_consistency.py index 30fd4d01015..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-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_hdf5.py b/src/tests/ftest/io/ior_hdf5.py index 694b5d19722..f23b0a57ca8 100644 --- a/src/tests/ftest/io/ior_hdf5.py +++ b/src/tests/ftest/io/ior_hdf5.py @@ -2,24 +2,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 """ 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 a35d0f28e79..3a6c89d5f38 100644 --- a/src/tests/ftest/io/ior_intercept_basic.py +++ b/src/tests/ftest/io/ior_intercept_basic.py @@ -2,24 +2,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 """ 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 1ff85724b7a..909c2295b74 100644 --- a/src/tests/ftest/io/ior_intercept_dfuse_mix.py +++ b/src/tests/ftest/io/ior_intercept_dfuse_mix.py @@ -2,24 +2,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 """ 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 e7128df388f..98f2d8fa724 100644 --- a/src/tests/ftest/io/ior_intercept_multi_client.py +++ b/src/tests/ftest/io/ior_intercept_multi_client.py @@ -2,24 +2,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 """ 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 8504f07c3c4..f4e8c215a3c 100644 --- a/src/tests/ftest/io/ior_intercept_verify_data_integrity.py +++ b/src/tests/ftest/io/ior_intercept_verify_data_integrity.py @@ -2,24 +2,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 """ import os diff --git a/src/tests/ftest/io/ior_large.py b/src/tests/ftest/io/ior_large.py index 9c435ceba1b..5495a172e29 100755 --- a/src/tests/ftest/io/ior_large.py +++ b/src/tests/ftest/io/ior_large.py @@ -2,24 +2,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 """ 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 464873476bd..47ae855193e 100755 --- a/src/tests/ftest/io/ior_small.py +++ b/src/tests/ftest/io/ior_small.py @@ -2,24 +2,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 """ 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 122184cbc0f..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-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 mdtest_test_base import MdtestBase diff --git a/src/tests/ftest/io/llnl_mpi4py.py b/src/tests/ftest/io/llnl_mpi4py.py index 7cbebdbd03e..10f6b7e3651 100755 --- a/src/tests/ftest/io/llnl_mpi4py.py +++ b/src/tests/ftest/io/llnl_mpi4py.py @@ -2,24 +2,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 """ 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 36b942fc3e4..641a09893f8 100755 --- a/src/tests/ftest/io/macsio_test.py +++ b/src/tests/ftest/io/macsio_test.py @@ -2,24 +2,7 @@ """ (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 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 b6dc6497ca7..ae9c67bdb74 100755 --- a/src/tests/ftest/io/mdtest_large.py +++ b/src/tests/ftest/io/mdtest_large.py @@ -2,24 +2,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 ''' 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 50b2a14ae7a..6531e239146 100755 --- a/src/tests/ftest/io/mdtest_small.py +++ b/src/tests/ftest/io/mdtest_small.py @@ -2,24 +2,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 ''' 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 f8867f686bf..d548e97a8d0 100644 --- a/src/tests/ftest/io/parallel_io.py +++ b/src/tests/ftest/io/parallel_io.py @@ -2,24 +2,7 @@ """ (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 threading diff --git a/src/tests/ftest/io/romio.py b/src/tests/ftest/io/romio.py index a7b2672a0d1..90884faa614 100755 --- a/src/tests/ftest/io/romio.py +++ b/src/tests/ftest/io/romio.py @@ -2,24 +2,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 ''' 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 c974957add6..b8b8d253a7f 100755 --- a/src/tests/ftest/io/seg_count.py +++ b/src/tests/ftest/io/seg_count.py @@ -2,24 +2,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 """ 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 9ac270a4b8e..1ec3c5ae1a3 100644 --- a/src/tests/ftest/io/unaligned_io.py +++ b/src/tests/ftest/io/unaligned_io.py @@ -2,24 +2,7 @@ """ (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 00c4e2b9af7..fcee4fc8339 100755 --- a/src/tests/ftest/launch.py +++ b/src/tests/ftest/launch.py @@ -2,24 +2,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 """ # 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 a4faece6217..38583bdc72b 100755 --- a/src/tests/ftest/metrics.py +++ b/src/tests/ftest/metrics.py @@ -2,24 +2,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 """ 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 326d03fb692..5de37a56f2d 100755 --- a/src/tests/ftest/network/cart_self_test.py +++ b/src/tests/ftest/network/cart_self_test.py @@ -2,24 +2,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 """ import os diff --git a/src/tests/ftest/network/zero_config.py b/src/tests/ftest/network/zero_config.py index 4c46c19445c..59a70228f67 100644 --- a/src/tests/ftest/network/zero_config.py +++ b/src/tests/ftest/network/zero_config.py @@ -2,24 +2,7 @@ """ (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/nvme/enospace.py b/src/tests/ftest/nvme/enospace.py index 184eed97044..5120d3f0c76 100644 --- a/src/tests/ftest/nvme/enospace.py +++ b/src/tests/ftest/nvme/enospace.py @@ -2,24 +2,7 @@ ''' (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 threading diff --git a/src/tests/ftest/nvme/nvme_fault.py b/src/tests/ftest/nvme/nvme_fault.py index e9fb4d1bee4..5a4fed9f6b2 100644 --- a/src/tests/ftest/nvme/nvme_fault.py +++ b/src/tests/ftest/nvme/nvme_fault.py @@ -2,24 +2,7 @@ ''' (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 d7ba786cbc0..4e824ec8cc0 100644 --- a/src/tests/ftest/nvme/nvme_fragmentation.py +++ b/src/tests/ftest/nvme/nvme_fragmentation.py @@ -2,24 +2,7 @@ """ (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_health.py b/src/tests/ftest/nvme/nvme_health.py index ab940815187..17b0375ab2c 100644 --- a/src/tests/ftest/nvme/nvme_health.py +++ b/src/tests/ftest/nvme/nvme_health.py @@ -2,24 +2,7 @@ ''' (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 8d394352ff9..a86e3382413 100755 --- a/src/tests/ftest/nvme/nvme_io.py +++ b/src/tests/ftest/nvme/nvme_io.py @@ -2,24 +2,7 @@ """ (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/nvme/nvme_io_stats.py b/src/tests/ftest/nvme/nvme_io_stats.py index 9b7d706b981..f7d6b264501 100755 --- a/src/tests/ftest/nvme/nvme_io_stats.py +++ b/src/tests/ftest/nvme/nvme_io_stats.py @@ -2,24 +2,7 @@ """ (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 0a56992730f..e100fce4a2b 100755 --- a/src/tests/ftest/nvme/nvme_io_verification.py +++ b/src/tests/ftest/nvme/nvme_io_verification.py @@ -2,24 +2,7 @@ """ (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/nvme/nvme_object.py b/src/tests/ftest/nvme/nvme_object.py index 0b18af5bab0..88e5dbbaf3b 100755 --- a/src/tests/ftest/nvme/nvme_object.py +++ b/src/tests/ftest/nvme/nvme_object.py @@ -2,24 +2,7 @@ """ (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/nvme/nvme_pool_capacity.py b/src/tests/ftest/nvme/nvme_pool_capacity.py index c982d90e9e9..3ebc2d3020d 100644 --- a/src/tests/ftest/nvme/nvme_pool_capacity.py +++ b/src/tests/ftest/nvme/nvme_pool_capacity.py @@ -2,24 +2,7 @@ """ (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 48a23cf2aa3..aafd4565296 100644 --- a/src/tests/ftest/nvme/nvme_pool_exclude.py +++ b/src/tests/ftest/nvme/nvme_pool_exclude.py @@ -2,24 +2,7 @@ """ (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 4931dc070d8..71be4d78f45 100644 --- a/src/tests/ftest/nvme/nvme_pool_extend.py +++ b/src/tests/ftest/nvme/nvme_pool_extend.py @@ -2,24 +2,7 @@ """ (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/object/array_obj_test.py b/src/tests/ftest/object/array_obj_test.py index d50131c4f6c..f9c7383f98c 100755 --- a/src/tests/ftest/object/array_obj_test.py +++ b/src/tests/ftest/object/array_obj_test.py @@ -2,24 +2,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. 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/object/create_many_dkeys.py b/src/tests/ftest/object/create_many_dkeys.py index 1008968a993..323777c28c8 100755 --- a/src/tests/ftest/object/create_many_dkeys.py +++ b/src/tests/ftest/object/create_many_dkeys.py @@ -2,24 +2,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 ''' 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 cedb6da4180..138218b09b0 100755 --- a/src/tests/ftest/object/obj_fetch_bad_param.py +++ b/src/tests/ftest/object/obj_fetch_bad_param.py @@ -2,24 +2,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 ''' 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 55128bc1211..d8a55accd2c 100755 --- a/src/tests/ftest/object/obj_open_bad_param.py +++ b/src/tests/ftest/object/obj_open_bad_param.py @@ -2,24 +2,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 """ 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 bf290d286a9..1624e4c4299 100755 --- a/src/tests/ftest/object/obj_update_bad_param.py +++ b/src/tests/ftest/object/obj_update_bad_param.py @@ -2,24 +2,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 ''' from __future__ import print_function diff --git a/src/tests/ftest/object/object_integrity.py b/src/tests/ftest/object/object_integrity.py index dd3e5a04184..e2c27173942 100755 --- a/src/tests/ftest/object/object_integrity.py +++ b/src/tests/ftest/object/object_integrity.py @@ -2,24 +2,7 @@ """ (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 141dc11fd79..2b7f10c6bd5 100755 --- a/src/tests/ftest/object/punch_test.py +++ b/src/tests/ftest/object/punch_test.py @@ -2,24 +2,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 ''' 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 8fc22217a27..1afa7f8b53f 100755 --- a/src/tests/ftest/object/same_key_different_value.py +++ b/src/tests/ftest/object/same_key_different_value.py @@ -2,24 +2,7 @@ ''' (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/osa/osa_offline_drain.py b/src/tests/ftest/osa/osa_offline_drain.py index df19b47564b..b8499752024 100644 --- a/src/tests/ftest/osa/osa_offline_drain.py +++ b/src/tests/ftest/osa/osa_offline_drain.py @@ -2,24 +2,7 @@ """ (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_offline_extend.py b/src/tests/ftest/osa/osa_offline_extend.py index 1c77a270355..25291ade90f 100644 --- a/src/tests/ftest/osa/osa_offline_extend.py +++ b/src/tests/ftest/osa/osa_offline_extend.py @@ -2,24 +2,7 @@ """ (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 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 bc98bf10488..d9f5a4d3d46 100644 --- a/src/tests/ftest/osa/osa_offline_parallel_test.py +++ b/src/tests/ftest/osa/osa_offline_parallel_test.py @@ -2,24 +2,7 @@ """ (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_offline_reintegration.py b/src/tests/ftest/osa/osa_offline_reintegration.py index ec8bd3b61d3..0bf67e5e5fb 100755 --- a/src/tests/ftest/osa/osa_offline_reintegration.py +++ b/src/tests/ftest/osa/osa_offline_reintegration.py @@ -2,24 +2,7 @@ """ (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_drain.py b/src/tests/ftest/osa/osa_online_drain.py index 03c767c1cd4..9721e13115a 100644 --- a/src/tests/ftest/osa/osa_online_drain.py +++ b/src/tests/ftest/osa/osa_online_drain.py @@ -2,24 +2,7 @@ """ (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 6d678408401..502d2d0965c 100644 --- a/src/tests/ftest/osa/osa_online_extend.py +++ b/src/tests/ftest/osa/osa_online_extend.py @@ -2,24 +2,7 @@ """ (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 threading diff --git a/src/tests/ftest/osa/osa_online_parallel_test.py b/src/tests/ftest/osa/osa_online_parallel_test.py index bbab85f98f1..3793947a899 100644 --- a/src/tests/ftest/osa/osa_online_parallel_test.py +++ b/src/tests/ftest/osa/osa_online_parallel_test.py @@ -2,24 +2,7 @@ """ (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_reintegration.py b/src/tests/ftest/osa/osa_online_reintegration.py index 857c93df432..8cf0185eae7 100644 --- a/src/tests/ftest/osa/osa_online_reintegration.py +++ b/src/tests/ftest/osa/osa_online_reintegration.py @@ -2,24 +2,7 @@ """ (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/pool/attribute.py b/src/tests/ftest/pool/attribute.py index bc21ff4bf87..96b62e58c25 100755 --- a/src/tests/ftest/pool/attribute.py +++ b/src/tests/ftest/pool/attribute.py @@ -2,24 +2,7 @@ ''' (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/pool/bad_connect.py b/src/tests/ftest/pool/bad_connect.py index 34c74a63dca..9d583c0cdfb 100755 --- a/src/tests/ftest/pool/bad_connect.py +++ b/src/tests/ftest/pool/bad_connect.py @@ -2,24 +2,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 ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/bad_create.py b/src/tests/ftest/pool/bad_create.py index 86ffa2b5e37..1b0f2a48039 100755 --- a/src/tests/ftest/pool/bad_create.py +++ b/src/tests/ftest/pool/bad_create.py @@ -2,24 +2,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 ''' import os import traceback diff --git a/src/tests/ftest/pool/bad_evict.py b/src/tests/ftest/pool/bad_evict.py index 319d0ab02e4..bb740760d76 100755 --- a/src/tests/ftest/pool/bad_evict.py +++ b/src/tests/ftest/pool/bad_evict.py @@ -2,24 +2,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 ''' import traceback import ctypes diff --git a/src/tests/ftest/pool/bad_exclude.py b/src/tests/ftest/pool/bad_exclude.py index ef3e70e286d..0f8b14a93de 100755 --- a/src/tests/ftest/pool/bad_exclude.py +++ b/src/tests/ftest/pool/bad_exclude.py @@ -2,24 +2,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 ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/bad_query.py b/src/tests/ftest/pool/bad_query.py index d53fe621fd9..665c898dc18 100755 --- a/src/tests/ftest/pool/bad_query.py +++ b/src/tests/ftest/pool/bad_query.py @@ -2,24 +2,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 ''' import traceback diff --git a/src/tests/ftest/pool/connect_test.py b/src/tests/ftest/pool/connect_test.py index 1571d26b475..a2d285df1bd 100755 --- a/src/tests/ftest/pool/connect_test.py +++ b/src/tests/ftest/pool/connect_test.py @@ -2,24 +2,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 ''' 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 877ca9cdd42..9a0427470c2 100755 --- a/src/tests/ftest/pool/destroy_rebuild.py +++ b/src/tests/ftest/pool/destroy_rebuild.py @@ -2,24 +2,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 ''' 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 ca62aa8bfe9..b8452fdf957 100755 --- a/src/tests/ftest/pool/destroy_tests.py +++ b/src/tests/ftest/pool/destroy_tests.py @@ -2,24 +2,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 """ 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 2bd2153bee8..72c55fdfe88 100644 --- a/src/tests/ftest/pool/dynamic_server_pool.py +++ b/src/tests/ftest/pool/dynamic_server_pool.py @@ -2,24 +2,7 @@ """ (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 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 95f4f0d7f4a..245740cf661 100644 --- a/src/tests/ftest/pool/evict_test.py +++ b/src/tests/ftest/pool/evict_test.py @@ -2,24 +2,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 """ from __future__ import print_function diff --git a/src/tests/ftest/pool/global_handle.py b/src/tests/ftest/pool/global_handle.py index 9e1ff3241b6..1bcc5e76978 100755 --- a/src/tests/ftest/pool/global_handle.py +++ b/src/tests/ftest/pool/global_handle.py @@ -2,24 +2,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 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 __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 152232d5774..b3594d3c45b 100755 --- a/src/tests/ftest/pool/info_tests.py +++ b/src/tests/ftest/pool/info_tests.py @@ -2,24 +2,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 """ 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 8865944bb86..45caff8539f 100755 --- a/src/tests/ftest/pool/list_pools.py +++ b/src/tests/ftest/pool/list_pools.py @@ -2,24 +2,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 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 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 243d9fa159f..12f77bc6ebe 100755 --- a/src/tests/ftest/pool/multi_server_create_delete_test.py +++ b/src/tests/ftest/pool/multi_server_create_delete_test.py @@ -2,24 +2,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. 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 apricot import TestWithServers diff --git a/src/tests/ftest/pool/multiple_creates_test.py b/src/tests/ftest/pool/multiple_creates_test.py index 58a9a2bd0cb..838c5b42e32 100755 --- a/src/tests/ftest/pool/multiple_creates_test.py +++ b/src/tests/ftest/pool/multiple_creates_test.py @@ -2,24 +2,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 """ from __future__ import print_function diff --git a/src/tests/ftest/pool/permission.py b/src/tests/ftest/pool/permission.py index d1c4d37a0f4..f33ddb0ac1d 100755 --- a/src/tests/ftest/pool/permission.py +++ b/src/tests/ftest/pool/permission.py @@ -2,24 +2,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 ''' 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 a9cf0f3effd..4040934b4fd 100755 --- a/src/tests/ftest/pool/pool_svc.py +++ b/src/tests/ftest/pool/pool_svc.py @@ -2,24 +2,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 ''' 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 710cb7dc94b..6f01a381add 100644 --- a/src/tests/ftest/pool/query_attribute.py +++ b/src/tests/ftest/pool/query_attribute.py @@ -2,24 +2,7 @@ """ (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 d49c4e89215..1e1d5fe09f8 100755 --- a/src/tests/ftest/pool/rebuild_no_cap.py +++ b/src/tests/ftest/pool/rebuild_no_cap.py @@ -2,24 +2,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 ''' 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 dde5a3bfc02..53ee158cbe1 100755 --- a/src/tests/ftest/pool/rebuild_tests.py +++ b/src/tests/ftest/pool/rebuild_tests.py @@ -2,24 +2,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 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, 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 18db74b14b1..3b41c62d08e 100755 --- a/src/tests/ftest/pool/rebuild_with_io.py +++ b/src/tests/ftest/pool/rebuild_with_io.py @@ -2,24 +2,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 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, 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 fc841f2fbaa..7d36cfad24d 100755 --- a/src/tests/ftest/pool/rebuild_with_ior.py +++ b/src/tests/ftest/pool/rebuild_with_ior.py @@ -2,24 +2,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 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 __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 4209da08d71..88da279cb4e 100755 --- a/src/tests/ftest/pool/simple_create_delete_test.py +++ b/src/tests/ftest/pool/simple_create_delete_test.py @@ -2,24 +2,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. 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 b40fe38d455..e2845559f4e 100644 --- a/src/tests/ftest/pool/storage_ratio.py +++ b/src/tests/ftest/pool/storage_ratio.py @@ -2,24 +2,7 @@ """ (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 fa0ecb2a0dd..5b03f9068cd 100644 --- a/src/tests/ftest/rebuild/cascading_failures.py +++ b/src/tests/ftest/rebuild/cascading_failures.py @@ -2,24 +2,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 """ 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 2925cdea8c9..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-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 from apricot import TestWithServers, skipForTicket diff --git a/src/tests/ftest/rebuild/delete_objects.py b/src/tests/ftest/rebuild/delete_objects.py index 611c01151a3..daf8b4794bb 100644 --- a/src/tests/ftest/rebuild/delete_objects.py +++ b/src/tests/ftest/rebuild/delete_objects.py @@ -2,24 +2,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 """ 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 7baec5757ec..528d42c2ff8 100644 --- a/src/tests/ftest/rebuild/io_conf_run.py +++ b/src/tests/ftest/rebuild/io_conf_run.py @@ -2,24 +2,7 @@ """ (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 0a3d36ef88d..1cc3e42ef2a 100755 --- a/src/tests/ftest/rebuild/read_array.py +++ b/src/tests/ftest/rebuild/read_array.py @@ -2,24 +2,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 """ 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 49720add1b7..422ff8d4654 100755 --- a/src/tests/ftest/security/cont_create_acl.py +++ b/src/tests/ftest/security/cont_create_acl.py @@ -2,24 +2,7 @@ """ (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 """ 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 5313b34094c..69ef032e3a4 100644 --- a/src/tests/ftest/security/cont_delete_acl.py +++ b/src/tests/ftest/security/cont_delete_acl.py @@ -2,24 +2,7 @@ """ (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 """ 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 dc03872cd6a..b3988981dd0 100644 --- a/src/tests/ftest/security/cont_get_acl.py +++ b/src/tests/ftest/security/cont_get_acl.py @@ -2,24 +2,7 @@ """ (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 diff --git a/src/tests/ftest/security/cont_overwrite_acl.py b/src/tests/ftest/security/cont_overwrite_acl.py index 4f808b63bb3..6096ecc8ff2 100644 --- a/src/tests/ftest/security/cont_overwrite_acl.py +++ b/src/tests/ftest/security/cont_overwrite_acl.py @@ -2,24 +2,7 @@ """ (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 diff --git a/src/tests/ftest/security/cont_update_acl.py b/src/tests/ftest/security/cont_update_acl.py index 17f11aee65f..08d6297179a 100644 --- a/src/tests/ftest/security/cont_update_acl.py +++ b/src/tests/ftest/security/cont_update_acl.py @@ -2,24 +2,7 @@ """ (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 diff --git a/src/tests/ftest/security/container_security_acl.py b/src/tests/ftest/security/container_security_acl.py index 9ff5ba53474..985ff321500 100755 --- a/src/tests/ftest/security/container_security_acl.py +++ b/src/tests/ftest/security/container_security_acl.py @@ -2,24 +2,7 @@ """ (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 9fd13e576e9..c3d6e6a1707 100755 --- a/src/tests/ftest/security/pool_connect_init.py +++ b/src/tests/ftest/security/pool_connect_init.py @@ -2,24 +2,7 @@ ''' (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 72bece5dce6..7bb490189fc 100755 --- a/src/tests/ftest/security/pool_security_acl.py +++ b/src/tests/ftest/security/pool_security_acl.py @@ -2,24 +2,7 @@ ''' (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 dc14a91fa94..9a63b556196 100755 --- a/src/tests/ftest/security/pool_security_groups.py +++ b/src/tests/ftest/security/pool_security_groups.py @@ -2,24 +2,7 @@ ''' (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 c3363003754..b9dbdf89456 100644 --- a/src/tests/ftest/server/cpu_usage.py +++ b/src/tests/ftest/server/cpu_usage.py @@ -2,24 +2,7 @@ """ (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 39fbebaf951..dc54360bf17 100644 --- a/src/tests/ftest/server/daos_server_config.py +++ b/src/tests/ftest/server/daos_server_config.py @@ -2,24 +2,7 @@ """ (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 71f6b486012..0d15b52f043 100644 --- a/src/tests/ftest/server/daos_server_restart.py +++ b/src/tests/ftest/server/daos_server_restart.py @@ -2,24 +2,7 @@ """ (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/dynamic_start_stop.py b/src/tests/ftest/server/dynamic_start_stop.py index 13c59161aef..68fe8bf115f 100644 --- a/src/tests/ftest/server/dynamic_start_stop.py +++ b/src/tests/ftest/server/dynamic_start_stop.py @@ -2,24 +2,7 @@ """ (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 from apricot import TestWithServers diff --git a/src/tests/ftest/server/metadata.py b/src/tests/ftest/server/metadata.py index 5b1af9e60e4..b7c857f4154 100755 --- a/src/tests/ftest/server/metadata.py +++ b/src/tests/ftest/server/metadata.py @@ -2,24 +2,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 """ from __future__ import print_function diff --git a/src/tests/ftest/slurm_setup.py b/src/tests/ftest/slurm_setup.py index 5a5fc60de95..153201171cb 100755 --- a/src/tests/ftest/slurm_setup.py +++ b/src/tests/ftest/slurm_setup.py @@ -2,24 +2,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 """ import socket diff --git a/src/tests/ftest/soak/soak_faults.py b/src/tests/ftest/soak/soak_faults.py index d956f35e757..15ad36d434d 100644 --- a/src/tests/ftest/soak/soak_faults.py +++ b/src/tests/ftest/soak/soak_faults.py @@ -2,24 +2,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 """ 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 60f8fb71c83..5e3395a390e 100644 --- a/src/tests/ftest/soak/soak_harassers.py +++ b/src/tests/ftest/soak/soak_harassers.py @@ -2,24 +2,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 """ 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 b999a3d3375..4401e074075 100644 --- a/src/tests/ftest/soak/soak_smoke.py +++ b/src/tests/ftest/soak/soak_smoke.py @@ -2,24 +2,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 """ 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 cdecb12d043..bb46b8ff226 100644 --- a/src/tests/ftest/soak/soak_stress_2h.py +++ b/src/tests/ftest/soak/soak_stress_2h.py @@ -2,24 +2,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 """ 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 2af7df41041..67acd7ad6c8 100644 --- a/src/tests/ftest/soak/soak_stress_48h.py +++ b/src/tests/ftest/soak/soak_stress_48h.py @@ -2,24 +2,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 """ 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 33c3f077ee5..758758920c3 100644 --- a/src/tests/ftest/soak/soak_test_base.py +++ b/src/tests/ftest/soak/soak_test_base.py @@ -2,24 +2,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 """ import os diff --git a/src/tests/ftest/soak/soak_utils.py b/src/tests/ftest/soak/soak_utils.py index 5ae09e37e51..147d5d9be41 100644 --- a/src/tests/ftest/soak/soak_utils.py +++ b/src/tests/ftest/soak/soak_utils.py @@ -2,24 +2,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 """ import os diff --git a/src/tests/ftest/unittest/unittest.py b/src/tests/ftest/unittest/unittest.py index 5ccee48bcf3..d9556bac082 100755 --- a/src/tests/ftest/unittest/unittest.py +++ b/src/tests/ftest/unittest/unittest.py @@ -2,24 +2,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 ''' 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 15157dfa053..8e2a77c29b7 100755 --- a/src/tests/ftest/util/agent_utils.py +++ b/src/tests/ftest/util/agent_utils.py @@ -2,24 +2,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 """ import socket diff --git a/src/tests/ftest/util/agent_utils_params.py b/src/tests/ftest/util/agent_utils_params.py index 64479c3dcef..52b5d8fd8ca 100644 --- a/src/tests/ftest/util/agent_utils_params.py +++ b/src/tests/ftest/util/agent_utils_params.py @@ -2,24 +2,7 @@ """ (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 39f4e8a9f2c..4f9a884f55d 100644 --- a/src/tests/ftest/util/apricot/apricot/test.py +++ b/src/tests/ftest/util/apricot/apricot/test.py @@ -2,24 +2,7 @@ """ (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 """ # 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 f04b1f5d2c9..49c05b47768 100644 --- a/src/tests/ftest/util/check_for_pool.py +++ b/src/tests/ftest/util/check_for_pool.py @@ -2,24 +2,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. 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/command_utils.py b/src/tests/ftest/util/command_utils.py index a07066d07c0..1fe2281726c 100644 --- a/src/tests/ftest/util/command_utils.py +++ b/src/tests/ftest/util/command_utils.py @@ -2,24 +2,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 """ 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 9b81bc86613..f2ddce53359 100644 --- a/src/tests/ftest/util/command_utils_base.py +++ b/src/tests/ftest/util/command_utils_base.py @@ -2,24 +2,7 @@ """ (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 logging import getLogger import os diff --git a/src/tests/ftest/util/configuration_utils.py b/src/tests/ftest/util/configuration_utils.py index 70496895a33..4959fd37d2f 100644 --- a/src/tests/ftest/util/configuration_utils.py +++ b/src/tests/ftest/util/configuration_utils.py @@ -2,24 +2,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 """ 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 9485ad4e95f..44040285539 100755 --- a/src/tests/ftest/util/cont_security_test_base.py +++ b/src/tests/ftest/util/cont_security_test_base.py @@ -2,24 +2,7 @@ """ (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 diff --git a/src/tests/ftest/util/control_test_base.py b/src/tests/ftest/util/control_test_base.py index 5cdadde28c0..714ff81b45a 100644 --- a/src/tests/ftest/util/control_test_base.py +++ b/src/tests/ftest/util/control_test_base.py @@ -2,24 +2,7 @@ """ (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 import fail_on diff --git a/src/tests/ftest/util/daos_core_base.py b/src/tests/ftest/util/daos_core_base.py index c5a8b18e3e0..fbe03685b35 100644 --- a/src/tests/ftest/util/daos_core_base.py +++ b/src/tests/ftest/util/daos_core_base.py @@ -2,24 +2,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 """ import os diff --git a/src/tests/ftest/util/daos_io_conf.py b/src/tests/ftest/util/daos_io_conf.py index 0c8880c0263..d0feb9e67bf 100644 --- a/src/tests/ftest/util/daos_io_conf.py +++ b/src/tests/ftest/util/daos_io_conf.py @@ -2,24 +2,7 @@ """ (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 random diff --git a/src/tests/ftest/util/daos_perf_base.py b/src/tests/ftest/util/daos_perf_base.py index 6394019a1c4..c5269156cae 100644 --- a/src/tests/ftest/util/daos_perf_base.py +++ b/src/tests/ftest/util/daos_perf_base.py @@ -2,24 +2,7 @@ """ (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 03b37398c03..700bff8cf43 100644 --- a/src/tests/ftest/util/daos_perf_utils.py +++ b/src/tests/ftest/util/daos_perf_utils.py @@ -2,24 +2,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 """ 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 4449d2a4d2a..584c4983922 100644 --- a/src/tests/ftest/util/daos_racer_utils.py +++ b/src/tests/ftest/util/daos_racer_utils.py @@ -2,24 +2,7 @@ """ (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 \ CommandFailure, BasicParameter, FormattedParameter diff --git a/src/tests/ftest/util/daos_utils.py b/src/tests/ftest/util/daos_utils.py index cb4811d8ab3..5aaae939225 100644 --- a/src/tests/ftest/util/daos_utils.py +++ b/src/tests/ftest/util/daos_utils.py @@ -2,24 +2,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 """ 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 c2b9ca60307..62ad4235597 100644 --- a/src/tests/ftest/util/daos_utils_base.py +++ b/src/tests/ftest/util/daos_utils_base.py @@ -2,24 +2,7 @@ """ (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 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 315d9809cbe..249ed641fe3 100644 --- a/src/tests/ftest/util/data_mover_test_base.py +++ b/src/tests/ftest/util/data_mover_test_base.py @@ -2,24 +2,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 """ 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 267e82d76db..fc0d468310f 100644 --- a/src/tests/ftest/util/data_mover_utils.py +++ b/src/tests/ftest/util/data_mover_utils.py @@ -2,24 +2,7 @@ """ (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/util/dfuse_test_base.py b/src/tests/ftest/util/dfuse_test_base.py index 772ccf43eca..8d1de2f9f0f 100644 --- a/src/tests/ftest/util/dfuse_test_base.py +++ b/src/tests/ftest/util/dfuse_test_base.py @@ -2,24 +2,7 @@ """ (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 bdca5bbdac0..2307fff4a03 100644 --- a/src/tests/ftest/util/dfuse_utils.py +++ b/src/tests/ftest/util/dfuse_utils.py @@ -2,24 +2,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 """ 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 12b3c9f2428..d5320e341a5 100644 --- a/src/tests/ftest/util/dmg_utils.py +++ b/src/tests/ftest/util/dmg_utils.py @@ -2,24 +2,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 """ 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 cbd4ebbd446..0a2b285632e 100644 --- a/src/tests/ftest/util/dmg_utils_base.py +++ b/src/tests/ftest/util/dmg_utils_base.py @@ -2,24 +2,7 @@ """ (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/util/dmg_utils_params.py b/src/tests/ftest/util/dmg_utils_params.py index ccc879421a6..be389ea569f 100644 --- a/src/tests/ftest/util/dmg_utils_params.py +++ b/src/tests/ftest/util/dmg_utils_params.py @@ -2,24 +2,7 @@ """ (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 18fbc95e6f4..07e9ebf5075 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. + (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 nvme_utils import ServerFillUp diff --git a/src/tests/ftest/util/fault_config_utils.py b/src/tests/ftest/util/fault_config_utils.py index f2ce99f9ffe..1ba47719a85 100755 --- a/src/tests/ftest/util/fault_config_utils.py +++ b/src/tests/ftest/util/fault_config_utils.py @@ -2,24 +2,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 ''' import os diff --git a/src/tests/ftest/util/fio_test_base.py b/src/tests/ftest/util/fio_test_base.py index 8315bdc7024..5af46aaa973 100755 --- a/src/tests/ftest/util/fio_test_base.py +++ b/src/tests/ftest/util/fio_test_base.py @@ -2,24 +2,7 @@ """ (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 60f7c19b7ad..6f64f7e6e3b 100644 --- a/src/tests/ftest/util/fio_utils.py +++ b/src/tests/ftest/util/fio_utils.py @@ -2,24 +2,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 """ from general_utils import pcmd diff --git a/src/tests/ftest/util/general_utils.py b/src/tests/ftest/util/general_utils.py index ef723852377..22282306cb7 100644 --- a/src/tests/ftest/util/general_utils.py +++ b/src/tests/ftest/util/general_utils.py @@ -2,24 +2,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 """ 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 86db56df12d..d3eed7fb0e8 100644 --- a/src/tests/ftest/util/get_hosts_from_file.py +++ b/src/tests/ftest/util/get_hosts_from_file.py @@ -2,24 +2,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 ''' from __future__ import print_function diff --git a/src/tests/ftest/util/io_utilities.py b/src/tests/ftest/util/io_utilities.py index eb738bcee92..e65e19d5155 100644 --- a/src/tests/ftest/util/io_utilities.py +++ b/src/tests/ftest/util/io_utilities.py @@ -2,24 +2,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 ''' 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 6c6a71941fd..d2f537003f9 100644 --- a/src/tests/ftest/util/ior_test_base.py +++ b/src/tests/ftest/util/ior_test_base.py @@ -2,24 +2,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 """ import os import threading diff --git a/src/tests/ftest/util/ior_utils.py b/src/tests/ftest/util/ior_utils.py index ed20c14d9f5..913a93cbec7 100644 --- a/src/tests/ftest/util/ior_utils.py +++ b/src/tests/ftest/util/ior_utils.py @@ -2,24 +2,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 """ 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 9cffab59af4..c1aaee1599c 100644 --- a/src/tests/ftest/util/job_manager_utils.py +++ b/src/tests/ftest/util/job_manager_utils.py @@ -2,24 +2,7 @@ """ (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 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 17213fe4427..47e4d29a6c2 100644 --- a/src/tests/ftest/util/logger_utils.py +++ b/src/tests/ftest/util/logger_utils.py @@ -2,24 +2,7 @@ """ (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 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 3ab8557e016..59b4e5916c8 100644 --- a/src/tests/ftest/util/macsio_test_base.py +++ b/src/tests/ftest/util/macsio_test_base.py @@ -2,24 +2,7 @@ """ (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_base import CommandFailure diff --git a/src/tests/ftest/util/macsio_util.py b/src/tests/ftest/util/macsio_util.py index 4fd6a5cd7e4..6ea5ce8cd6e 100644 --- a/src/tests/ftest/util/macsio_util.py +++ b/src/tests/ftest/util/macsio_util.py @@ -2,24 +2,7 @@ """ (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 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 cc971217f13..c0b0d08738c 100755 --- a/src/tests/ftest/util/mdtest_test_base.py +++ b/src/tests/ftest/util/mdtest_test_base.py @@ -2,24 +2,7 @@ """ (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 mpio_utils import MpioUtils diff --git a/src/tests/ftest/util/mdtest_utils.py b/src/tests/ftest/util/mdtest_utils.py index 082fca67399..3fdae6d2908 100644 --- a/src/tests/ftest/util/mdtest_utils.py +++ b/src/tests/ftest/util/mdtest_utils.py @@ -2,24 +2,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 """ from __future__ import print_function diff --git a/src/tests/ftest/util/mpio_utils.py b/src/tests/ftest/util/mpio_utils.py index d6737ec0aaa..06aeec71d35 100644 --- a/src/tests/ftest/util/mpio_utils.py +++ b/src/tests/ftest/util/mpio_utils.py @@ -2,24 +2,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 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 __future__ import print_function diff --git a/src/tests/ftest/util/nvme_utils.py b/src/tests/ftest/util/nvme_utils.py index 6ec65135299..bbaf8a7a9a9 100644 --- a/src/tests/ftest/util/nvme_utils.py +++ b/src/tests/ftest/util/nvme_utils.py @@ -2,24 +2,7 @@ """ (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 threading import re diff --git a/src/tests/ftest/util/osa_utils.py b/src/tests/ftest/util/osa_utils.py index fe6944c7c4b..86ec4f2e832 100644 --- a/src/tests/ftest/util/osa_utils.py +++ b/src/tests/ftest/util/osa_utils.py @@ -2,24 +2,7 @@ """ (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 uuid diff --git a/src/tests/ftest/util/pool_security_test_base.py b/src/tests/ftest/util/pool_security_test_base.py index e2989108346..8d00044e7ea 100755 --- a/src/tests/ftest/util/pool_security_test_base.py +++ b/src/tests/ftest/util/pool_security_test_base.py @@ -2,24 +2,7 @@ """ (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/util/pool_test_base.py b/src/tests/ftest/util/pool_test_base.py index aa5be30903b..35dc12a0045 100644 --- a/src/tests/ftest/util/pool_test_base.py +++ b/src/tests/ftest/util/pool_test_base.py @@ -2,24 +2,7 @@ """ (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/util/rebuild_test_base.py b/src/tests/ftest/util/rebuild_test_base.py index 444e32a6637..a4dffa07be5 100644 --- a/src/tests/ftest/util/rebuild_test_base.py +++ b/src/tests/ftest/util/rebuild_test_base.py @@ -2,24 +2,7 @@ """ (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_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 5ebe3e735e4..8524d458c82 100644 --- a/src/tests/ftest/util/security_test_base.py +++ b/src/tests/ftest/util/security_test_base.py @@ -2,24 +2,7 @@ """ (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 diff --git a/src/tests/ftest/util/server_utils.py b/src/tests/ftest/util/server_utils.py index ac9a3e79f82..a194e2c1258 100644 --- a/src/tests/ftest/util/server_utils.py +++ b/src/tests/ftest/util/server_utils.py @@ -2,24 +2,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 """ 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 70127f70d4e..6c00bcf4560 100644 --- a/src/tests/ftest/util/server_utils_params.py +++ b/src/tests/ftest/util/server_utils_params.py @@ -2,24 +2,7 @@ """ (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/slurm_utils.py b/src/tests/ftest/util/slurm_utils.py index 7b32b2d1be3..7a1ed83d03b 100644 --- a/src/tests/ftest/util/slurm_utils.py +++ b/src/tests/ftest/util/slurm_utils.py @@ -2,24 +2,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 """ 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 2eb25a4a66f..10418e26b01 100644 --- a/src/tests/ftest/util/test_utils_base.py +++ b/src/tests/ftest/util/test_utils_base.py @@ -2,24 +2,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 """ 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 ba89680355b..45ac8fabd02 100644 --- a/src/tests/ftest/util/test_utils_container.py +++ b/src/tests/ftest/util/test_utils_container.py @@ -2,24 +2,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 """ 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 c2281d4f21c..52de64060ad 100644 --- a/src/tests/ftest/util/test_utils_pool.py +++ b/src/tests/ftest/util/test_utils_pool.py @@ -2,24 +2,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 """ 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 ca36269e7d4..71ea99c1e19 100644 --- a/src/tests/ftest/util/vol_test_base.py +++ b/src/tests/ftest/util/vol_test_base.py @@ -2,24 +2,7 @@ """ (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 8c76074ff2b..f2b0c5e498a 100644 --- a/src/tests/ftest/util/write_host_file.py +++ b/src/tests/ftest/util/write_host_file.py @@ -2,24 +2,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 """ 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 09e4e5088be..294424e6985 100755 --- a/src/tests/ftest/util/write_some_data.py +++ b/src/tests/ftest/util/write_some_data.py @@ -2,24 +2,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 ''' from __future__ import print_function From 07cad2998d8065d35ed1c69d0ca23288c1192e16 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Fri, 22 Jan 2021 14:34:39 +0000 Subject: [PATCH 05/20] DAOS-6338 DAOS:Change DAOS license text Updated LICENSE Skip-build: true Skip-test: true Change-Id: I3ff41fc6050006a97fbea114ef1964739b2a4163 Signed-off-by: Hua Kuang --- LICENSE | 54 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 45 insertions(+), 9 deletions(-) diff --git a/LICENSE b/LICENSE index 73f85529b03..aa7e0878eb6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,15 +1,51 @@ -https://spdx.org/licenses/BSD-2-Clause-Patent.html +Copyright (c) 2021, Intel Corporation. -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: +SPDX-License-Identifier: BSD-2-Clause-Patent -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: +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: -(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. +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. +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. From 42564e37a0d8057d2d73a330e364f294f45049d8 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Mon, 25 Jan 2021 19:13:04 +0000 Subject: [PATCH 06/20] DAOS-6338 DAOS:Change DAOS license text Minor change to LICENSE Skip-build: true Skip-test: true Change-Id: I7520a1762df39d2f3dbef3e46283982c29a82918 Signed-off-by: Hua Kuang --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index aa7e0878eb6..b8ccd6aefb0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2021, Intel Corporation. +Copyright (c) 2021 Intel Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent From ae6ac3e1a3e99ca50fde56b225f422a68c5cdb51 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Fri, 29 Jan 2021 14:08:58 +0000 Subject: [PATCH 07/20] DAOS-6338 DAOS:Change DAOS license text Updated mainly .java + some found missed files Skip-build: true Skip-test: true Change-Id: Iade0472c36f2a02cf7df72b19f52c3ac0097d5b8 Signed-off-by: Hua Kuang --- .../main/java/io/daos/BufferAllocator.java | 19 +-------------- .../src/main/java/io/daos/Constants.java | 19 +-------------- .../src/main/java/io/daos/DaosClient.java | 19 +-------------- .../src/main/java/io/daos/DaosContainer.java | 19 +-------------- .../src/main/java/io/daos/DaosEventQueue.java | 19 +-------------- .../main/java/io/daos/DaosIOException.java | 19 +-------------- .../src/main/java/io/daos/DaosObjectType.java | 19 +-------------- .../src/main/java/io/daos/DaosPool.java | 19 +-------------- .../src/main/java/io/daos/DaosUtils.java | 19 +-------------- .../src/main/java/io/daos/ErrorCode.java | 19 +-------------- .../src/main/java/io/daos/ForceCloseable.java | 19 +-------------- .../src/main/java/io/daos/Shareable.java | 19 +-------------- .../main/java/io/daos/ShareableClient.java | 19 +-------------- .../java/io/daos/ShutdownHookManager.java | 19 +-------------- .../main/java/io/daos/TimedOutException.java | 19 +-------------- .../src/main/java/io/daos/dfs/Cleaner.java | 19 +-------------- .../src/main/java/io/daos/dfs/DaosFile.java | 19 +-------------- .../main/java/io/daos/dfs/DaosFsClient.java | 19 +-------------- .../src/main/java/io/daos/dfs/DaosUns.java | 19 +-------------- .../src/main/java/io/daos/dfs/DunsInfo.java | 19 +-------------- .../main/java/io/daos/dfs/StatAttributes.java | 19 +-------------- .../main/java/io/daos/dfs/package-info.java | 19 +-------------- .../main/java/io/daos/dfs/uns/DaosAce.java | 19 +-------------- .../io/daos/dfs/uns/DaosAceOrBuilder.java | 19 +-------------- .../main/java/io/daos/dfs/uns/DaosAcl.java | 19 +-------------- .../io/daos/dfs/uns/DaosAclOrBuilder.java | 19 +-------------- .../java/io/daos/dfs/uns/DunsAttribute.java | 19 +-------------- .../daos/dfs/uns/DunsAttributeOrBuilder.java | 19 +-------------- .../java/io/daos/dfs/uns/DunsClasses.java | 19 +-------------- .../src/main/java/io/daos/dfs/uns/Entry.java | 19 +-------------- .../java/io/daos/dfs/uns/EntryOrBuilder.java | 19 +-------------- .../src/main/java/io/daos/dfs/uns/Layout.java | 19 +-------------- .../main/java/io/daos/dfs/uns/PropType.java | 19 +-------------- .../main/java/io/daos/dfs/uns/Properties.java | 19 +-------------- .../io/daos/dfs/uns/PropertiesOrBuilder.java | 19 +-------------- .../main/java/io/daos/obj/DaosObjClient.java | 19 +-------------- .../src/main/java/io/daos/obj/DaosObject.java | 19 +-------------- .../java/io/daos/obj/DaosObjectException.java | 19 +-------------- .../main/java/io/daos/obj/DaosObjectId.java | 19 +-------------- .../src/main/java/io/daos/obj/IODataDesc.java | 19 +-------------- .../src/main/java/io/daos/obj/IOKeyDesc.java | 19 +-------------- .../java/io/daos/obj/IOSimpleDataDesc.java | 19 +-------------- .../src/main/java/io/daos/obj/OpenMode.java | 19 +-------------- .../java/io/daos/obj/SimpleDataDescGrp.java | 19 +-------------- .../java/io/daos/fs/hadoop/Constants.java | 19 +-------------- .../java/io/daos/fs/hadoop/DaosAbsFsImpl.java | 19 +-------------- .../io/daos/fs/hadoop/DaosConfigFile.java | 19 +-------------- .../io/daos/fs/hadoop/DaosFileSystem.java | 19 +-------------- .../io/daos/fs/hadoop/DaosInputStream.java | 19 +-------------- .../io/daos/fs/hadoop/DaosOutputStream.java | 19 +-------------- .../io/daos/fs/hadoop/HadoopDaosUtils.java | 19 +-------------- .../java/io/daos/fs/hadoop/package-info.java | 19 +-------------- .../io/daos/fs/hadoop/DaosConfigFileTest.java | 16 +------------ .../java/io/daos/fs/hadoop/DaosFSFactory.java | 16 +------------ .../fs/hadoop/DaosFileSystemContractIT.java | 16 +------------ .../io/daos/fs/hadoop/DaosFileSystemIT.java | 16 +------------ .../io/daos/fs/hadoop/DaosFileSystemTest.java | 16 +------------ .../daos/fs/hadoop/DaosHadoopTestUtils.java | 16 +------------ .../io/daos/fs/hadoop/DaosInputStreamIT.java | 16 +------------ .../daos/fs/hadoop/DaosInputStreamTest.java | 16 +------------ .../io/daos/fs/hadoop/DaosOutputStreamIT.java | 16 +------------ .../daos/fs/hadoop/DaosOutputStreamTest.java | 16 +------------ .../java/io/daos/fs/hadoop/HadoopCmdIT.java | 16 +------------ .../hadoop/contract/DaosContractCreateIT.java | 16 +------------ .../hadoop/contract/DaosContractDeleteIT.java | 16 +------------ .../fs/hadoop/contract/DaosContractIT.java | 16 +------------ .../hadoop/contract/DaosContractMkdirIT.java | 16 +------------ .../hadoop/contract/DaosContractOpenIT.java | 16 +------------ .../hadoop/contract/DaosContractRenameIT.java | 16 +------------ .../contract/DaosContractRootDirIT.java | 16 +------------ .../hadoop/contract/DaosContractSeekIT.java | 16 +------------ .../multiple/MultipleDaosOpenFileIT.java | 16 +------------ .../multiple/TestMultipleDaosCreateFile.java | 16 +------------ .../multiple/TestMultipleDaosMkdir.java | 16 +------------ .../multiple/TestMultipleDaosMount.java | 16 +------------ .../java/io/daos/fs/hadoop/perf/Main.java | 16 +------------ .../java/io/daos/fs/hadoop/perf/Test.java | 16 +------------ utils/fix_cmocka_xml.py | 22 ++---------------- utils/sl/prereq_tools/c_source/cmocka_tests.h | 21 ++--------------- utils/sl/prereq_tools/c_source/unit_test.c | 21 ++--------------- utils/sl/prereq_tools/c_source/unit_test.h | 23 +++---------------- 81 files changed, 86 insertions(+), 1389 deletions(-) diff --git a/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java b/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java index 995e90003ce..4244a5fa35e 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java +++ b/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/Constants.java b/src/client/java/daos-java/src/main/java/io/daos/Constants.java index 932f6dce017..2db668f806c 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/Constants.java +++ b/src/client/java/daos-java/src/main/java/io/daos/Constants.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java b/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java index 0b6743ef96f..163f1481445 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java b/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java index a7f95fb9bfd..6bd880b2ba2 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java b/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java index 2acfb409dd3..10323c736e2 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java b/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java index 49c3e8b9b07..8243a3e7f04 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java b/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java index 18ca0195190..dde8f7a12d8 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java b/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java index e85ed337a4f..1ad9519018e 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java b/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java index d9fb9d95d49..707b045c47d 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java b/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java index f5c5580a007..9aed3273522 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java b/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java index 17555cf2a89..ef54cbca878 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/Shareable.java b/src/client/java/daos-java/src/main/java/io/daos/Shareable.java index 0ecb78b3b87..b79f9584c25 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/Shareable.java +++ b/src/client/java/daos-java/src/main/java/io/daos/Shareable.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java b/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java index cb478322039..d6fad42690b 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java b/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java index 37e28add251..6e470c4b31a 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java b/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java index 3617cca9a3e..f757b9b8585 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java +++ b/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java index cf136f0c61e..f1f9e4952a5 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java index 90b00a11003..648035aa2ca 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java index 435b0780238..45b761cd1e8 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java index d91fee02e90..15d04d16fa8 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java index 061c30e205e..5bcfe2272ad 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java index af076ca8b23..24a4bd5d196 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java index 0d97d7955e5..bef95910d25 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java index 9b58430a6b2..a1e723b2100 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java index 937cfabbc60..8413ff4aa98 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java index 22f4c9f2d7b..6fa9a89adeb 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java index c12f979acb9..085259065a9 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java index 2e992bbc8a2..df2e69d2ad1 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java index 5c25288fe96..1f2bd2ec18f 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java index 6ca9abd7d48..c644480626d 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java index 9f300f51643..36f3b2ef227 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java index 020e261f701..104f9877e90 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java index 6ad5ad9bcbe..b834c9d434f 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java index 72a5841162d..e9af5ea25cc 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java index a2ad4d3eb05..749baeed668 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java index 68f3cfa6161..0f323d55136 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java index 4e183c755cf..a96c135f1a1 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java index 38d6e8812c1..0118a2d01b6 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java index a94d547c165..7529e55563d 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java index f530723d0b0..400e395b017 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java b/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java index d844bcc9c72..923319e8f13 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java b/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java index 9a6cf9dc839..1fb6207cc7e 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java b/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java index 08372bf6b13..5696c8ca7e4 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java b/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java index 768c2378085..a17a326f562 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java b/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java index bb3ef080d23..cc1e392c97d 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.obj; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java index 1965456fef0..f84ad3a6474 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java index c975b800772..7068fa7b59b 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java index eb86e20baf0..d5a0a7ee67f 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java index a8c780a49cf..e9e28666fbc 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java index d72f23ee78a..3b0501b6d39 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java index adff958b913..f44513df870 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java index d4f6d59b708..ad5b11f9c23 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java index 6b3eb3460e7..af5eab71979 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java @@ -1,24 +1,7 @@ /* * (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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java index 49ef370a542..5e92b47a618 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java index 9816eacf7b6..4bd0fb3008b 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java index 9b41277177b..e80f254456e 100755 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java index ad126cf1231..3171e075e3e 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java index a2840cebd0b..57a80b3163f 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java index 6ab467ef65e..5c2bd0c86c6 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java index 693890ee99a..bfe96b25680 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java index a6bb41f66c4..e9f0778f259 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java index a3d98a37257..18ffce4a5bd 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java index 36eb83a1258..aab89672638 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java index 3fc149a5449..cc36886ea26 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java index 0a6634b0c3c..b6629ad8834 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java index 7ead90cf6b7..faf0cb76973 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java index fb3f0de3606..a5e0a421bce 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java index c5d8260fe11..212daad56ca 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java index edfe5ce4e62..30100591c5b 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java index 2ab5f1cc56e..18f74b8142e 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java index 9c070495ee4..bad46590913 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java index b9501178c39..d8efa26b856 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java index 282cdcad4eb..4a9857e6ed5 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java index d84364ccdbb..795dc91b3ab 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java index 7ba533dd0ef..e88757b26e4 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java index e0d2922fb4e..6bf71c0a535 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java index bac10c017d8..cc5ef2df824 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.perf; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java index dc81eb02e75..b9f0cabbc87 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.perf; diff --git a/utils/fix_cmocka_xml.py b/utils/fix_cmocka_xml.py index 22e72956529..616b0e7ab32 100644 --- a/utils/fix_cmocka_xml.py +++ b/utils/fix_cmocka_xml.py @@ -1,26 +1,8 @@ #!/usr/bin/env 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 import sys diff --git a/utils/sl/prereq_tools/c_source/cmocka_tests.h b/utils/sl/prereq_tools/c_source/cmocka_tests.h index d3c4ddc9ee6..9ad2ff55f16 100644 --- a/utils/sl/prereq_tools/c_source/cmocka_tests.h +++ b/utils/sl/prereq_tools/c_source/cmocka_tests.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 CMOCKA_TESTS_H diff --git a/utils/sl/prereq_tools/c_source/unit_test.c b/utils/sl/prereq_tools/c_source/unit_test.c index 20a2120fd47..b94c232d32a 100644 --- a/utils/sl/prereq_tools/c_source/unit_test.c +++ b/utils/sl/prereq_tools/c_source/unit_test.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 */ #include diff --git a/utils/sl/prereq_tools/c_source/unit_test.h b/utils/sl/prereq_tools/c_source/unit_test.h index e4dc0100dec..766e2541e56 100644 --- a/utils/sl/prereq_tools/c_source/unit_test.h +++ b/utils/sl/prereq_tools/c_source/unit_test.h @@ -1,24 +1,7 @@ /** - * (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 */ #include From c9ee878d533ca7c4e2f3aaa7c4d69d48363d5c74 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Fri, 29 Jan 2021 14:19:17 +0000 Subject: [PATCH 08/20] DAOS-6338 DAOS:Change DAOS license text Updated mainly .java + some found missed files Skip-build: true Skip-test: true Change-Id: I5735f9dda6c8b27df207a4964b83539578b25835 Signed-off-by: Hua Kuang --- src/client/pydaos/__init__.py | 20 ++------------------ src/client/pydaos/pydaos_core.py | 20 ++------------------ src/client/pydaos/raw/__init__.py | 20 ++------------------ src/tests/ftest/util/mpio_test_base.py | 22 +++------------------- 4 files changed, 9 insertions(+), 73 deletions(-) diff --git a/src/client/pydaos/__init__.py b/src/client/pydaos/__init__.py index a36cda797a7..cc3c689a810 100644 --- a/src/client/pydaos/__init__.py +++ b/src/client/pydaos/__init__.py @@ -1,23 +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 +# SPDX-License-Identifier: BSD-2-Clause-Patent # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -# The Government's rights to use, modify, reproduce, release, perform, display, -# or disclose this software are subject to the terms of the Apache License as -# provided in Contract No. B609815. -# Any reproduction of computer software, computer software documentation, or -# portions thereof marked with this legend must also reproduce the markings. """ PyDAOS Module allowing global access to the DAOS containers and objects. """ diff --git a/src/client/pydaos/pydaos_core.py b/src/client/pydaos/pydaos_core.py index 90baf232a16..908afde473f 100644 --- a/src/client/pydaos/pydaos_core.py +++ b/src/client/pydaos/pydaos_core.py @@ -1,23 +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 +# SPDX-License-Identifier: BSD-2-Clause-Patent # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -# The Government's rights to use, modify, reproduce, release, perform, display, -# or disclose this software are subject to the terms of the Apache License as -# provided in Contract No. B609815. -# Any reproduction of computer software, computer software documentation, or -# portions thereof marked with this legend must also reproduce the markings. """ PyDAOS Module allowing global access to the DAOS containers and objects. """ diff --git a/src/client/pydaos/raw/__init__.py b/src/client/pydaos/raw/__init__.py index 7dc6f30de2d..5bc0b5872cf 100644 --- a/src/client/pydaos/raw/__init__.py +++ b/src/client/pydaos/raw/__init__.py @@ -1,23 +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 +# SPDX-License-Identifier: BSD-2-Clause-Patent # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -# The Government's rights to use, modify, reproduce, release, perform, display, -# or disclose this software are subject to the terms of the Apache License as -# provided in Contract No. B609815. -# Any reproduction of computer software, computer software documentation, or -# portions thereof marked with this legend must also reproduce the markings. """ ctypes-based DAOS wrapper used mostly for testing """ diff --git a/src/tests/ftest/util/mpio_test_base.py b/src/tests/ftest/util/mpio_test_base.py index fa435c3fe1b..05b480c332a 100755 --- a/src/tests/ftest/util/mpio_test_base.py +++ b/src/tests/ftest/util/mpio_test_base.py @@ -2,25 +2,9 @@ ''' (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 From c75cff250c899e7682332ab7080280d321e2d51d Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Fri, 29 Jan 2021 16:04:18 +0000 Subject: [PATCH 09/20] daos-6338 added .java handling in utils/github/pre-commit Change-Id: Id7163e3ee9b838039b26f0a969f4ec03823a981e Signed-off-by: Hua Kuang --- .../main/java/io/daos/BufferAllocator.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/Constants.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/DaosClient.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/DaosContainer.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/DaosEventQueue.java | 21 +++++++++++++++++-- .../main/java/io/daos/DaosIOException.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/DaosObjectType.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/DaosPool.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/DaosUtils.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/ErrorCode.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/ForceCloseable.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/Shareable.java | 21 +++++++++++++++++-- .../main/java/io/daos/ShareableClient.java | 21 +++++++++++++++++-- .../java/io/daos/ShutdownHookManager.java | 21 +++++++++++++++++-- .../main/java/io/daos/TimedOutException.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/dfs/Cleaner.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/dfs/DaosFile.java | 21 +++++++++++++++++-- .../main/java/io/daos/dfs/DaosFsClient.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/dfs/DaosUns.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/dfs/DunsInfo.java | 21 +++++++++++++++++-- .../main/java/io/daos/dfs/StatAttributes.java | 21 +++++++++++++++++-- .../main/java/io/daos/dfs/package-info.java | 21 +++++++++++++++++-- .../main/java/io/daos/dfs/uns/DaosAce.java | 21 +++++++++++++++++-- .../io/daos/dfs/uns/DaosAceOrBuilder.java | 21 +++++++++++++++++-- .../main/java/io/daos/dfs/uns/DaosAcl.java | 21 +++++++++++++++++-- .../io/daos/dfs/uns/DaosAclOrBuilder.java | 21 +++++++++++++++++-- .../java/io/daos/dfs/uns/DunsAttribute.java | 21 +++++++++++++++++-- .../daos/dfs/uns/DunsAttributeOrBuilder.java | 21 +++++++++++++++++-- .../java/io/daos/dfs/uns/DunsClasses.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/dfs/uns/Entry.java | 21 +++++++++++++++++-- .../java/io/daos/dfs/uns/EntryOrBuilder.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/dfs/uns/Layout.java | 21 +++++++++++++++++-- .../main/java/io/daos/dfs/uns/PropType.java | 21 +++++++++++++++++-- .../main/java/io/daos/dfs/uns/Properties.java | 21 +++++++++++++++++-- .../io/daos/dfs/uns/PropertiesOrBuilder.java | 21 +++++++++++++++++-- .../main/java/io/daos/obj/DaosObjClient.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/obj/DaosObject.java | 21 +++++++++++++++++-- .../java/io/daos/obj/DaosObjectException.java | 21 +++++++++++++++++-- .../main/java/io/daos/obj/DaosObjectId.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/obj/IODataDesc.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/obj/IOKeyDesc.java | 21 +++++++++++++++++-- .../java/io/daos/obj/IOSimpleDataDesc.java | 21 +++++++++++++++++-- .../src/main/java/io/daos/obj/OpenMode.java | 21 +++++++++++++++++-- .../java/io/daos/obj/SimpleDataDescGrp.java | 21 +++++++++++++++++-- .../java/io/daos/fs/hadoop/Constants.java | 21 +++++++++++++++++-- .../java/io/daos/fs/hadoop/DaosAbsFsImpl.java | 21 +++++++++++++++++-- .../io/daos/fs/hadoop/DaosConfigFile.java | 21 +++++++++++++++++-- .../io/daos/fs/hadoop/DaosFileSystem.java | 21 +++++++++++++++++-- .../io/daos/fs/hadoop/DaosInputStream.java | 21 +++++++++++++++++-- .../io/daos/fs/hadoop/DaosOutputStream.java | 21 +++++++++++++++++-- .../io/daos/fs/hadoop/HadoopDaosUtils.java | 21 +++++++++++++++++-- .../java/io/daos/fs/hadoop/package-info.java | 21 +++++++++++++++++-- .../io/daos/fs/hadoop/DaosConfigFileTest.java | 16 +++++++++++++- .../java/io/daos/fs/hadoop/DaosFSFactory.java | 16 +++++++++++++- .../fs/hadoop/DaosFileSystemContractIT.java | 16 +++++++++++++- .../io/daos/fs/hadoop/DaosFileSystemIT.java | 16 +++++++++++++- .../io/daos/fs/hadoop/DaosFileSystemTest.java | 16 +++++++++++++- .../daos/fs/hadoop/DaosHadoopTestUtils.java | 16 +++++++++++++- .../io/daos/fs/hadoop/DaosInputStreamIT.java | 16 +++++++++++++- .../daos/fs/hadoop/DaosInputStreamTest.java | 16 +++++++++++++- .../io/daos/fs/hadoop/DaosOutputStreamIT.java | 16 +++++++++++++- .../daos/fs/hadoop/DaosOutputStreamTest.java | 16 +++++++++++++- .../java/io/daos/fs/hadoop/HadoopCmdIT.java | 16 +++++++++++++- .../hadoop/contract/DaosContractCreateIT.java | 16 +++++++++++++- .../hadoop/contract/DaosContractDeleteIT.java | 16 +++++++++++++- .../fs/hadoop/contract/DaosContractIT.java | 16 +++++++++++++- .../hadoop/contract/DaosContractMkdirIT.java | 16 +++++++++++++- .../hadoop/contract/DaosContractOpenIT.java | 16 +++++++++++++- .../hadoop/contract/DaosContractRenameIT.java | 16 +++++++++++++- .../contract/DaosContractRootDirIT.java | 16 +++++++++++++- .../hadoop/contract/DaosContractSeekIT.java | 16 +++++++++++++- .../multiple/MultipleDaosOpenFileIT.java | 16 +++++++++++++- .../multiple/TestMultipleDaosCreateFile.java | 16 +++++++++++++- .../multiple/TestMultipleDaosMkdir.java | 16 +++++++++++++- .../multiple/TestMultipleDaosMount.java | 16 +++++++++++++- .../java/io/daos/fs/hadoop/perf/Main.java | 16 +++++++++++++- .../java/io/daos/fs/hadoop/perf/Test.java | 16 +++++++++++++- utils/githooks/pre-commit | 2 +- 78 files changed, 1364 insertions(+), 130 deletions(-) diff --git a/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java b/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java index 4244a5fa35e..ba711665d3d 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java +++ b/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/Constants.java b/src/client/java/daos-java/src/main/java/io/daos/Constants.java index 2db668f806c..9b001c558e7 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/Constants.java +++ b/src/client/java/daos-java/src/main/java/io/daos/Constants.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java b/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java index 163f1481445..6b47fdfd368 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java b/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java index 6bd880b2ba2..0cc65a69dd4 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java b/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java index 10323c736e2..573a710699f 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java b/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java index 8243a3e7f04..538d2ec9857 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java b/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java index dde8f7a12d8..14df127d293 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java b/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java index 1ad9519018e..ea1e6141053 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java b/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java index 707b045c47d..a644bad2727 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java b/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java index 9aed3273522..8a9d91a6994 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java b/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java index ef54cbca878..967d6adb6f5 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/Shareable.java b/src/client/java/daos-java/src/main/java/io/daos/Shareable.java index b79f9584c25..909885c0a98 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/Shareable.java +++ b/src/client/java/daos-java/src/main/java/io/daos/Shareable.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java b/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java index d6fad42690b..9b8d0c4caad 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java b/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java index 6e470c4b31a..79ac7b075ed 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java b/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java index f757b9b8585..b37f34a50fe 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java +++ b/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java index f1f9e4952a5..3bf4f8990c1 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java index 648035aa2ca..22180727f35 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java index 45b761cd1e8..e6d8c95763c 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java index 15d04d16fa8..05d5ee9e456 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java index 5bcfe2272ad..80a57197409 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java index 24a4bd5d196..4301a14489f 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java index bef95910d25..b627383095e 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ /** diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java index a1e723b2100..41c51e99fd3 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java index 8413ff4aa98..cdd6d8a8ac9 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java index 6fa9a89adeb..6cdcde02d37 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java index 085259065a9..1445ee93268 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java index df2e69d2ad1..20d89e370d1 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java index 1f2bd2ec18f..b3f771ce3d2 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java index c644480626d..20f17d144b6 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java index 36f3b2ef227..06f2066a5a7 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java index 104f9877e90..d3d240e5a3e 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java index b834c9d434f..8acbb4f6e5d 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java index e9af5ea25cc..455c5126239 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java index 749baeed668..83a40dc9444 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java index 0f323d55136..dd9ebe6dc7e 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java index a96c135f1a1..a4399e9974b 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java index 0118a2d01b6..d629bf9aa45 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java index 7529e55563d..516a3043092 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java index 400e395b017..b5cbd9c6968 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java b/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java index 923319e8f13..503e9bd5aaf 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java b/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java index 1fb6207cc7e..83bb8ea996f 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java b/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java index 5696c8ca7e4..c407f0088bb 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java b/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java index a17a326f562..0b141d74319 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java b/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java index cc1e392c97d..81e4cfab768 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.obj; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java index f84ad3a6474..b8e2ddddc0d 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java index 7068fa7b59b..9a1b39fc11c 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java index d5a0a7ee67f..843212f962d 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java index e9e28666fbc..8d21a1c118e 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java index 3b0501b6d39..d0e1d4e3431 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java index f44513df870..d624517501f 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java index ad5b11f9c23..1f9cd01d27f 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java index af5eab71979..da20ae7cba2 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java @@ -1,7 +1,24 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE + * The Government's rights to use, modify, reproduce, release, perform, display, + * or disclose this software are subject to the terms of the Apache License as + * provided in Contract No. B609815. + * Any reproduction of computer software, computer software documentation, or + * portions thereof marked with this legend must also reproduce the markings. */ /** diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java index 5e92b47a618..49ef370a542 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java index 4bd0fb3008b..9816eacf7b6 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java index e80f254456e..9b41277177b 100755 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java index 3171e075e3e..ad126cf1231 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java index 57a80b3163f..a2840cebd0b 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java index 5c2bd0c86c6..6ab467ef65e 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java index bfe96b25680..693890ee99a 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java index e9f0778f259..a6bb41f66c4 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java index 18ffce4a5bd..a3d98a37257 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java index aab89672638..36eb83a1258 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java index cc36886ea26..3fc149a5449 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java index b6629ad8834..0a6634b0c3c 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java index faf0cb76973..7ead90cf6b7 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java index a5e0a421bce..fb3f0de3606 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java index 212daad56ca..c5d8260fe11 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java index 30100591c5b..edfe5ce4e62 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java index 18f74b8142e..2ab5f1cc56e 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java index bad46590913..9c070495ee4 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java index d8efa26b856..b9501178c39 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java index 4a9857e6ed5..282cdcad4eb 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java index 795dc91b3ab..d84364ccdbb 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java index e88757b26e4..7ba533dd0ef 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java index 6bf71c0a535..e0d2922fb4e 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java index cc5ef2df824..bac10c017d8 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.perf; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java index b9f0cabbc87..dc81eb02e75 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java @@ -1,5 +1,19 @@ /** - * SPDX-License-Identifier: BSD-2-Clause-Patent + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package io.daos.fs.hadoop.perf; diff --git a/utils/githooks/pre-commit b/utils/githooks/pre-commit index 8baedf9141a..dd732652aaf 100755 --- a/utils/githooks/pre-commit +++ b/utils/githooks/pre-commit @@ -10,7 +10,7 @@ year=$(date +%Y) errors=0 files=$(git diff --diff-filter=AM --name-only --cached -- \ - '*.c' '*.h' '*.go' 'Makefile' '*.py' '*.proto') + '*.c' '*.h' '*.go' 'Makefile' '*.py' '*.proto' '*.java') for file in $files; do if [[ "$file" == *vendor* ]] || [[ "$file" == *pb.go ]] || \ [[ "$file" == *_string.go ]] || [[ "$file" == *pb-c* ]]; then From 171f970f5f3ef4378ad6e51f8af4e0b5c62049ef Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Fri, 29 Jan 2021 16:11:42 +0000 Subject: [PATCH 10/20] DAOS-6338 DAOS:Change DAOS license text Updated mainly .java + some found missed files Skip-build: true Skip-test: true Change-Id: Ie98d1abd33632dd77da64e1632eb2d2c30f370f2 Signed-off-by: Hua Kuang --- .../main/java/io/daos/BufferAllocator.java | 19 +------------------ .../src/main/java/io/daos/Constants.java | 19 +------------------ .../src/main/java/io/daos/DaosClient.java | 19 +------------------ .../src/main/java/io/daos/DaosContainer.java | 19 +------------------ .../src/main/java/io/daos/DaosEventQueue.java | 19 +------------------ .../main/java/io/daos/DaosIOException.java | 19 +------------------ .../src/main/java/io/daos/DaosObjectType.java | 19 +------------------ .../src/main/java/io/daos/DaosPool.java | 19 +------------------ .../src/main/java/io/daos/DaosUtils.java | 19 +------------------ .../src/main/java/io/daos/ErrorCode.java | 19 +------------------ .../src/main/java/io/daos/ForceCloseable.java | 19 +------------------ .../src/main/java/io/daos/Shareable.java | 19 +------------------ .../main/java/io/daos/ShareableClient.java | 19 +------------------ .../java/io/daos/ShutdownHookManager.java | 19 +------------------ .../main/java/io/daos/TimedOutException.java | 19 +------------------ .../src/main/java/io/daos/dfs/Cleaner.java | 19 +------------------ .../src/main/java/io/daos/dfs/DaosFile.java | 19 +------------------ .../main/java/io/daos/dfs/DaosFsClient.java | 19 +------------------ .../src/main/java/io/daos/dfs/DaosUns.java | 19 +------------------ .../src/main/java/io/daos/dfs/DunsInfo.java | 19 +------------------ .../main/java/io/daos/dfs/StatAttributes.java | 19 +------------------ .../main/java/io/daos/dfs/package-info.java | 19 +------------------ .../main/java/io/daos/dfs/uns/DaosAce.java | 19 +------------------ .../io/daos/dfs/uns/DaosAceOrBuilder.java | 19 +------------------ .../main/java/io/daos/dfs/uns/DaosAcl.java | 19 +------------------ .../io/daos/dfs/uns/DaosAclOrBuilder.java | 19 +------------------ .../java/io/daos/dfs/uns/DunsAttribute.java | 19 +------------------ .../daos/dfs/uns/DunsAttributeOrBuilder.java | 19 +------------------ .../java/io/daos/dfs/uns/DunsClasses.java | 19 +------------------ .../src/main/java/io/daos/dfs/uns/Entry.java | 19 +------------------ .../java/io/daos/dfs/uns/EntryOrBuilder.java | 19 +------------------ .../src/main/java/io/daos/dfs/uns/Layout.java | 19 +------------------ .../main/java/io/daos/dfs/uns/PropType.java | 19 +------------------ .../main/java/io/daos/dfs/uns/Properties.java | 19 +------------------ .../io/daos/dfs/uns/PropertiesOrBuilder.java | 19 +------------------ .../main/java/io/daos/obj/DaosObjClient.java | 19 +------------------ .../src/main/java/io/daos/obj/DaosObject.java | 19 +------------------ .../java/io/daos/obj/DaosObjectException.java | 19 +------------------ .../main/java/io/daos/obj/DaosObjectId.java | 19 +------------------ .../src/main/java/io/daos/obj/IODataDesc.java | 19 +------------------ .../src/main/java/io/daos/obj/IOKeyDesc.java | 19 +------------------ .../java/io/daos/obj/IOSimpleDataDesc.java | 19 +------------------ .../src/main/java/io/daos/obj/OpenMode.java | 19 +------------------ .../java/io/daos/obj/SimpleDataDescGrp.java | 19 +------------------ .../java/io/daos/fs/hadoop/Constants.java | 19 +------------------ .../java/io/daos/fs/hadoop/DaosAbsFsImpl.java | 19 +------------------ .../io/daos/fs/hadoop/DaosConfigFile.java | 19 +------------------ .../io/daos/fs/hadoop/DaosFileSystem.java | 19 +------------------ .../io/daos/fs/hadoop/DaosInputStream.java | 19 +------------------ .../io/daos/fs/hadoop/DaosOutputStream.java | 19 +------------------ .../io/daos/fs/hadoop/HadoopDaosUtils.java | 19 +------------------ .../java/io/daos/fs/hadoop/package-info.java | 19 +------------------ .../io/daos/fs/hadoop/DaosConfigFileTest.java | 16 +--------------- .../java/io/daos/fs/hadoop/DaosFSFactory.java | 16 +--------------- .../fs/hadoop/DaosFileSystemContractIT.java | 16 +--------------- .../io/daos/fs/hadoop/DaosFileSystemIT.java | 16 +--------------- .../io/daos/fs/hadoop/DaosFileSystemTest.java | 16 +--------------- .../daos/fs/hadoop/DaosHadoopTestUtils.java | 16 +--------------- .../io/daos/fs/hadoop/DaosInputStreamIT.java | 16 +--------------- .../daos/fs/hadoop/DaosInputStreamTest.java | 16 +--------------- .../io/daos/fs/hadoop/DaosOutputStreamIT.java | 16 +--------------- .../daos/fs/hadoop/DaosOutputStreamTest.java | 16 +--------------- .../java/io/daos/fs/hadoop/HadoopCmdIT.java | 16 +--------------- .../hadoop/contract/DaosContractCreateIT.java | 16 +--------------- .../hadoop/contract/DaosContractDeleteIT.java | 16 +--------------- .../fs/hadoop/contract/DaosContractIT.java | 16 +--------------- .../hadoop/contract/DaosContractMkdirIT.java | 16 +--------------- .../hadoop/contract/DaosContractOpenIT.java | 16 +--------------- .../hadoop/contract/DaosContractRenameIT.java | 16 +--------------- .../contract/DaosContractRootDirIT.java | 16 +--------------- .../hadoop/contract/DaosContractSeekIT.java | 16 +--------------- .../multiple/MultipleDaosOpenFileIT.java | 16 +--------------- .../multiple/TestMultipleDaosCreateFile.java | 16 +--------------- .../multiple/TestMultipleDaosMkdir.java | 16 +--------------- .../multiple/TestMultipleDaosMount.java | 16 +--------------- .../java/io/daos/fs/hadoop/perf/Main.java | 16 +--------------- .../java/io/daos/fs/hadoop/perf/Test.java | 16 +--------------- 77 files changed, 77 insertions(+), 1311 deletions(-) diff --git a/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java b/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java index ba711665d3d..64426c5ff60 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java +++ b/src/client/java/daos-java/src/main/java/io/daos/BufferAllocator.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/Constants.java b/src/client/java/daos-java/src/main/java/io/daos/Constants.java index 9b001c558e7..43324ee98bf 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/Constants.java +++ b/src/client/java/daos-java/src/main/java/io/daos/Constants.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java b/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java index 6b47fdfd368..13688bb34cb 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosClient.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java b/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java index 0cc65a69dd4..84dbaad06ac 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosContainer.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java b/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java index 573a710699f..2dc4d5f6740 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosEventQueue.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java b/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java index 538d2ec9857..4cbd14e8513 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosIOException.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java b/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java index 14df127d293..1dcc81e5a4b 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosObjectType.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java b/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java index ea1e6141053..b2e61c56ef8 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosPool.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java b/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java index a644bad2727..ea76aa310a8 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java +++ b/src/client/java/daos-java/src/main/java/io/daos/DaosUtils.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java b/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java index 8a9d91a6994..7a95acecb07 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ErrorCode.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java b/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java index 967d6adb6f5..235dd9c1c34 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ForceCloseable.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/Shareable.java b/src/client/java/daos-java/src/main/java/io/daos/Shareable.java index 909885c0a98..2f76004ae2c 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/Shareable.java +++ b/src/client/java/daos-java/src/main/java/io/daos/Shareable.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java b/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java index 9b8d0c4caad..e84f53f16b0 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ShareableClient.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java b/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java index 79ac7b075ed..973ee53d974 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java +++ b/src/client/java/daos-java/src/main/java/io/daos/ShutdownHookManager.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java b/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java index b37f34a50fe..8e923e31221 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java +++ b/src/client/java/daos-java/src/main/java/io/daos/TimedOutException.java @@ -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 */ package io.daos; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java index 3bf4f8990c1..f872ab0aaa2 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/Cleaner.java @@ -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 */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java index 22180727f35..8990f60e5e7 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFile.java @@ -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 */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java index e6d8c95763c..f640e0ea0c2 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosFsClient.java @@ -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 */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java index 05d5ee9e456..db3fef3988d 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DaosUns.java @@ -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 */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java index 80a57197409..97e03ee0881 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/DunsInfo.java @@ -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 */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java index 4301a14489f..0cc65e5360b 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/StatAttributes.java @@ -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 */ package io.daos.dfs; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java index b627383095e..5ee4d064d8f 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/package-info.java @@ -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 */ /** diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java index 41c51e99fd3..9b0f563c388 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAce.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java index cdd6d8a8ac9..9e93c3badbd 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAceOrBuilder.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java index 6cdcde02d37..bd52894068b 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAcl.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java index 1445ee93268..35e5bfaf5fe 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DaosAclOrBuilder.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java index 20d89e370d1..f8a23403067 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttribute.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java index b3f771ce3d2..0f6e2e91fe7 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsAttributeOrBuilder.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java index 20f17d144b6..7f8af75df35 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/DunsClasses.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java index 06f2066a5a7..5a01e949dff 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Entry.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java index d3d240e5a3e..1a1f09a1212 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/EntryOrBuilder.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java index 8acbb4f6e5d..73bdcf4bc7c 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Layout.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java index 455c5126239..6e656ea6b67 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropType.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java index 83a40dc9444..1a9ad667121 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/Properties.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java index dd9ebe6dc7e..993c40d77ea 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java +++ b/src/client/java/daos-java/src/main/java/io/daos/dfs/uns/PropertiesOrBuilder.java @@ -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 */ package io.daos.dfs.uns; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java index a4399e9974b..c055a99a137 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjClient.java @@ -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 */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java index d629bf9aa45..7dfcfeeef44 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObject.java @@ -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 */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java index 516a3043092..5206cb76372 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectException.java @@ -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 */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java index b5cbd9c6968..70547923f1e 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/DaosObjectId.java @@ -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 */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java b/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java index 503e9bd5aaf..ab883bfbc1d 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/IODataDesc.java @@ -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 */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java b/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java index 83bb8ea996f..fbdf2dcf180 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/IOKeyDesc.java @@ -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 */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java b/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java index c407f0088bb..be3eac1bc70 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/IOSimpleDataDesc.java @@ -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 */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java b/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java index 0b141d74319..faf7595cf46 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/OpenMode.java @@ -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 */ package io.daos.obj; diff --git a/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java b/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java index 81e4cfab768..952b223ed6b 100644 --- a/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java +++ b/src/client/java/daos-java/src/main/java/io/daos/obj/SimpleDataDescGrp.java @@ -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 */ package io.daos.obj; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java index b8e2ddddc0d..086edc6b64b 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/Constants.java @@ -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 */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java index 9a1b39fc11c..47ebef5509d 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosAbsFsImpl.java @@ -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 */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java index 843212f962d..c583e89a82c 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosConfigFile.java @@ -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 */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java index 8d21a1c118e..7ce62cc0788 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosFileSystem.java @@ -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 */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java index d0e1d4e3431..0a3926a81d9 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosInputStream.java @@ -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 */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java index d624517501f..150fd6af541 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/DaosOutputStream.java @@ -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 */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java index 1f9cd01d27f..1b867677e88 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/HadoopDaosUtils.java @@ -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 */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java index da20ae7cba2..a8c50e0d7fd 100644 --- a/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java +++ b/src/client/java/hadoop-daos/src/main/java/io/daos/fs/hadoop/package-info.java @@ -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 */ /** diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java index 49ef370a542..5e92b47a618 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosConfigFileTest.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java index 9816eacf7b6..4bd0fb3008b 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFSFactory.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java index 9b41277177b..e80f254456e 100755 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemContractIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java index ad126cf1231..3171e075e3e 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java index a2840cebd0b..57a80b3163f 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosFileSystemTest.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java index 6ab467ef65e..5c2bd0c86c6 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosHadoopTestUtils.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java index 693890ee99a..bfe96b25680 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java index a6bb41f66c4..e9f0778f259 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosInputStreamTest.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java index a3d98a37257..18ffce4a5bd 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java index 36eb83a1258..aab89672638 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/DaosOutputStreamTest.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java index 3fc149a5449..cc36886ea26 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/HadoopCmdIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java index 0a6634b0c3c..b6629ad8834 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractCreateIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java index 7ead90cf6b7..faf0cb76973 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractDeleteIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java index fb3f0de3606..a5e0a421bce 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java index c5d8260fe11..212daad56ca 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractMkdirIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java index edfe5ce4e62..30100591c5b 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractOpenIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java index 2ab5f1cc56e..18f74b8142e 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRenameIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java index 9c070495ee4..bad46590913 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractRootDirIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java index b9501178c39..d8efa26b856 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/contract/DaosContractSeekIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.contract; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java index 282cdcad4eb..4a9857e6ed5 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/MultipleDaosOpenFileIT.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java index d84364ccdbb..795dc91b3ab 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosCreateFile.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java index 7ba533dd0ef..e88757b26e4 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMkdir.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java index e0d2922fb4e..6bf71c0a535 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/multiple/TestMultipleDaosMount.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.multiple; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java index bac10c017d8..cc5ef2df824 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Main.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.perf; diff --git a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java index dc81eb02e75..b9f0cabbc87 100644 --- a/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java +++ b/src/client/java/hadoop-daos/src/test/java/io/daos/fs/hadoop/perf/Test.java @@ -1,19 +1,5 @@ /** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ package io.daos.fs.hadoop.perf; From 154c0783453108b115aa0c5cfc872a8d81bbd36c Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Fri, 29 Jan 2021 21:58:40 +0000 Subject: [PATCH 11/20] Daos 6338 DAOS: Change DAOS license text Updated misc files Skip-build: true Skip-test: true Change-Id: I6e3413b9b2d53ecc159789a24995e4ecbca44ac6 Signed-off-by: Hua Kuang --- README.md | 4 +- doc/man/man8/daos.8 | 19 +- src/cart/SConscript | 21 +- src/cart/swim/SConscript | 21 +- .../java/dev/checkstyle/checkstyle.license | 21 +- .../services/org.apache.hadoop.fs.FileSystem | 21 +- .../src/test/resources/contract/daos.xml | 16 +- src/client/java/pom.xml | 11 +- src/control/lib/ipmctl/LICENSE | 252 ++++-------------- src/control/lib/spdk/src/nvme_control.c | 21 +- .../lib/spdk/src/nvme_control_common.c | 19 +- src/gurt/SConscript | 21 +- src/gurt/examples/SConscript | 20 +- src/gurt/tests/SConscript | 20 +- src/include/daos_version.h.in | 12 +- src/proto/Makefile | 19 +- src/tests/ftest/cart/utest/SConscript | 19 +- src/tests/ftest/cart/utest/test_linkage.cpp | 19 +- src/tests/suite/io_conf/daos_io_conf_1 | 19 +- src/tests/suite/io_conf/daos_io_conf_2 | 19 +- src/tests/suite/io_conf/daos_io_conf_3 | 19 +- src/tests/suite/io_conf/daos_io_conf_4 | 19 +- src/tests/suite/io_conf/daos_io_conf_5 | 19 +- src/utils/crt_launch/SConscript | 19 +- src/utils/ctl/SConscript | 19 +- src/utils/daos_metrics/SConscript | 18 +- src/utils/daos_metrics/daos_metrics.c | 19 +- src/utils/self_test/SConscript | 19 +- 28 files changed, 87 insertions(+), 658 deletions(-) diff --git a/README.md b/README.md index 01baf06de6b..28e76909b9e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # DAOS -[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE) +[![License](https://img.shields.io/badge/License-BSD--2--Clause--Patent-blue.svg)](./LICENSE) [![Coverity Scan Build Status](https://img.shields.io/coverity/scan/3015.svg)](https://scan.coverity.com/projects/daos-stack-daos) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/4163f52ec65e4ba8991208288a9a15a6)](https://www.codacy.com/app/johann.lombardi/daos?utm_source=github.com&utm_medium=referral&utm_content=daos-stack/daos&utm_campaign=Badge_Grade) @@ -19,7 +19,7 @@ and elastic storage to optimize performance and cost. ## License -DAOS is licensed under the Apache License Version 2.0. +DAOS is licensed under the BSD-2-Clause Plus Patent License. Please see the [LICENSE](./LICENSE) & [NOTICE](./NOTICE) files for more information. diff --git a/doc/man/man8/daos.8 b/doc/man/man8/daos.8 index 15e5c2bcdb3..6128717dc8c 100644 --- a/doc/man/man8/daos.8 +++ b/doc/man/man8/daos.8 @@ -1,23 +1,6 @@ .\" (C) Copyright 2015-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 .\" .TH daos 8 2019-09-17 "0.0.1" "DAOS Utilities" .SH NAME diff --git a/src/cart/SConscript b/src/cart/SConscript index 440aaec167e..79f7d7ce628 100644 --- a/src/cart/SConscript +++ b/src/cart/SConscript @@ -1,24 +1,7 @@ #!python -# (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 # """Build CaRT components""" diff --git a/src/cart/swim/SConscript b/src/cart/swim/SConscript index 6eaf2239c1b..cc9f3b4f408 100644 --- a/src/cart/swim/SConscript +++ b/src/cart/swim/SConscript @@ -1,24 +1,7 @@ #!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. 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 # """Build swim src""" diff --git a/src/client/java/dev/checkstyle/checkstyle.license b/src/client/java/dev/checkstyle/checkstyle.license index 9075d3ff507..7562dee4a3b 100644 --- a/src/client/java/dev/checkstyle/checkstyle.license +++ b/src/client/java/dev/checkstyle/checkstyle.license @@ -1,22 +1,5 @@ /* - * (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 */ diff --git a/src/client/java/hadoop-daos/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem b/src/client/java/hadoop-daos/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem index ace6f597a55..9e614641a72 100644 --- a/src/client/java/hadoop-daos/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem +++ b/src/client/java/hadoop-daos/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem @@ -1,22 +1,5 @@ # (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 +# SPDX-License-Identifier: BSD-2-Clause-Patent # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -# The Government's rights to use, modify, reproduce, release, perform, display, -# or disclose this software are subject to the terms of the Apache License as -# provided in Contract No. B609815. -# Any reproduction of computer software, computer software documentation, or -# portions thereof marked with this legend must also reproduce the markings. - -io.daos.fs.hadoop.DaosFileSystem \ No newline at end of file +io.daos.fs.hadoop.DaosFileSystem diff --git a/src/client/java/hadoop-daos/src/test/resources/contract/daos.xml b/src/client/java/hadoop-daos/src/test/resources/contract/daos.xml index 7f9707430e5..696d3212f90 100644 --- a/src/client/java/hadoop-daos/src/test/resources/contract/daos.xml +++ b/src/client/java/hadoop-daos/src/test/resources/contract/daos.xml @@ -1,21 +1,7 @@ diff --git a/src/client/java/pom.xml b/src/client/java/pom.xml index 68c5666b2df..aca16507ea9 100644 --- a/src/client/java/pom.xml +++ b/src/client/java/pom.xml @@ -1,14 +1,5 @@ - + 4.0.0 diff --git a/src/control/lib/ipmctl/LICENSE b/src/control/lib/ipmctl/LICENSE index 261eeb9e9f8..b8ccd6aefb0 100644 --- a/src/control/lib/ipmctl/LICENSE +++ b/src/control/lib/ipmctl/LICENSE @@ -1,201 +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 - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +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/control/lib/spdk/src/nvme_control.c b/src/control/lib/spdk/src/nvme_control.c index 1bc48417bcc..28a1837c87f 100644 --- a/src/control/lib/spdk/src/nvme_control.c +++ b/src/control/lib/spdk/src/nvme_control.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/control/lib/spdk/src/nvme_control_common.c b/src/control/lib/spdk/src/nvme_control_common.c index 5784a799aa2..2cd99de4c91 100644 --- a/src/control/lib/spdk/src/nvme_control_common.c +++ b/src/control/lib/spdk/src/nvme_control_common.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/gurt/SConscript b/src/gurt/SConscript index 105718d753c..34506715d53 100644 --- a/src/gurt/SConscript +++ b/src/gurt/SConscript @@ -1,24 +1,7 @@ #!python -# (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 # """Build libgurt""" diff --git a/src/gurt/examples/SConscript b/src/gurt/examples/SConscript index deaa0f0bbf8..9c52fc8d933 100644 --- a/src/gurt/examples/SConscript +++ b/src/gurt/examples/SConscript @@ -1,23 +1,7 @@ -# (C) Copyright 2020 Intel Corporation. +# (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 +# SPDX-License-Identifier: BSD-2-Clause-Patent # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -# The Government's rights to 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. """Example code""" import daos_build diff --git a/src/gurt/tests/SConscript b/src/gurt/tests/SConscript index 97efcbb4582..747eb3ddd9c 100644 --- a/src/gurt/tests/SConscript +++ b/src/gurt/tests/SConscript @@ -1,23 +1,7 @@ -# (C) Copyright 2020 Intel Corporation. +# (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 +# SPDX-License-Identifier: BSD-2-Clause-Patent # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -# The Government's rights to 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. """Unit tests""" import os diff --git a/src/include/daos_version.h.in b/src/include/daos_version.h.in index 45b1c0538bf..19a90eade84 100644 --- a/src/include/daos_version.h.in +++ b/src/include/daos_version.h.in @@ -1,17 +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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * \file diff --git a/src/proto/Makefile b/src/proto/Makefile index 2695b92b407..927f08860f0 100644 --- a/src/proto/Makefile +++ b/src/proto/Makefile @@ -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 -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -# The Government's rights to use, modify, reproduce, release, perform, display, -# or disclose this software are subject to the terms of the Apache License as -# provided 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_ROOT ?= $(shell git rev-parse --show-toplevel) diff --git a/src/tests/ftest/cart/utest/SConscript b/src/tests/ftest/cart/utest/SConscript index 8184a6fc28f..97b4ffc4398 100644 --- a/src/tests/ftest/cart/utest/SConscript +++ b/src/tests/ftest/cart/utest/SConscript @@ -1,24 +1,7 @@ #!python # (C) Copyright 2016-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. +# SPDX-License-Identifier: BSD-2-Clause-Patent # """Unit tests""" diff --git a/src/tests/ftest/cart/utest/test_linkage.cpp b/src/tests/ftest/cart/utest/test_linkage.cpp index 4c17f1daf92..ba6f66708b9 100644 --- a/src/tests/ftest/cart/utest/test_linkage.cpp +++ b/src/tests/ftest/cart/utest/test_linkage.cpp @@ -1,24 +1,7 @@ /* * (C) Copyright 2016-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. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of CaRT. It tests that header files can be included diff --git a/src/tests/suite/io_conf/daos_io_conf_1 b/src/tests/suite/io_conf/daos_io_conf_1 index a1a5aef0410..6649c037f5c 100644 --- a/src/tests/suite/io_conf/daos_io_conf_1 +++ b/src/tests/suite/io_conf/daos_io_conf_1 @@ -1,24 +1,7 @@ #/* # * (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. +# * SPDX-License-Identifier: BSD-2-Clause-Patent # */ #/** # * An example daos EPOCH IO test conf file. diff --git a/src/tests/suite/io_conf/daos_io_conf_2 b/src/tests/suite/io_conf/daos_io_conf_2 index be34f717eda..172126db7f4 100644 --- a/src/tests/suite/io_conf/daos_io_conf_2 +++ b/src/tests/suite/io_conf/daos_io_conf_2 @@ -1,24 +1,7 @@ #/* ## * (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. +## * SPDX-License-Identifier: BSD-2-Clause-Patent ## */ ##/** ## * An example daos EPOCH IO test conf file. diff --git a/src/tests/suite/io_conf/daos_io_conf_3 b/src/tests/suite/io_conf/daos_io_conf_3 index 5f6c4deb133..2108c33c4d5 100644 --- a/src/tests/suite/io_conf/daos_io_conf_3 +++ b/src/tests/suite/io_conf/daos_io_conf_3 @@ -1,24 +1,7 @@ #/* ## * (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. +## * SPDX-License-Identifier: BSD-2-Clause-Patent ## */ ##/** ## * An example daos EPOCH IO test conf file. diff --git a/src/tests/suite/io_conf/daos_io_conf_4 b/src/tests/suite/io_conf/daos_io_conf_4 index fd469f30434..7c5ffb1ef16 100644 --- a/src/tests/suite/io_conf/daos_io_conf_4 +++ b/src/tests/suite/io_conf/daos_io_conf_4 @@ -1,24 +1,7 @@ #/* ## * (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. +## * SPDX-License-Identifier: BSD-2-Clause-Patent ## */ ##/** ## * An example daos EPOCH IO test conf file. diff --git a/src/tests/suite/io_conf/daos_io_conf_5 b/src/tests/suite/io_conf/daos_io_conf_5 index efe28e867ca..0e36fe1aeaf 100644 --- a/src/tests/suite/io_conf/daos_io_conf_5 +++ b/src/tests/suite/io_conf/daos_io_conf_5 @@ -1,24 +1,7 @@ #/* ## * (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. +## * SPDX-License-Identifier: BSD-2-Clause-Patent ## */ ##/** ## * An example daos EPOCH IO test conf file. diff --git a/src/utils/crt_launch/SConscript b/src/utils/crt_launch/SConscript index 3a8723ecb71..17ae33b742a 100644 --- a/src/utils/crt_launch/SConscript +++ b/src/utils/crt_launch/SConscript @@ -1,24 +1,7 @@ #!python # (C) Copyright 2016-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. +# SPDX-License-Identifier: BSD-2-Clause-Patent # """Build crt_launch""" import os diff --git a/src/utils/ctl/SConscript b/src/utils/ctl/SConscript index 55ff5f6122e..0d45cc0fead 100644 --- a/src/utils/ctl/SConscript +++ b/src/utils/ctl/SConscript @@ -1,24 +1,7 @@ #!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. 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 # """Build cart_ctl test""" diff --git a/src/utils/daos_metrics/SConscript b/src/utils/daos_metrics/SConscript index 7221afa4e9b..fcc24c02d25 100644 --- a/src/utils/daos_metrics/SConscript +++ b/src/utils/daos_metrics/SConscript @@ -1,23 +1,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 +# SPDX-License-Identifier: BSD-2-Clause-Patent # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -# The Government's rights to 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. """DAOS metrics utility""" import daos_build diff --git a/src/utils/daos_metrics/daos_metrics.c b/src/utils/daos_metrics/daos_metrics.c index 4c80a0673fc..f35affba908 100644 --- a/src/utils/daos_metrics/daos_metrics.c +++ b/src/utils/daos_metrics/daos_metrics.c @@ -1,24 +1,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 */ /* diff --git a/src/utils/self_test/SConscript b/src/utils/self_test/SConscript index ccc79e079f2..025dd743345 100644 --- a/src/utils/self_test/SConscript +++ b/src/utils/self_test/SConscript @@ -1,24 +1,7 @@ #!python # (C) Copyright 2016-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. +# SPDX-License-Identifier: BSD-2-Clause-Patent # """Build self test""" From 3ebe78dab5e5e460d8dbea5cb9ce8415ba20e327 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Fri, 29 Jan 2021 22:06:11 +0000 Subject: [PATCH 12/20] Daos 6338 DAOS: Change DAOS license text Updated Copyright dates to some files that not covered by pre-commit Skip-build: true Skip-test: true Change-Id: I876e33daabef29bc94e8c987e4ca651319c89ba4 Signed-off-by: Hua Kuang --- src/tests/ftest/cart/utest/SConscript | 2 +- src/tests/ftest/cart/utest/test_linkage.cpp | 2 +- src/utils/crt_launch/SConscript | 2 +- src/utils/ctl/SConscript | 2 +- src/utils/self_test/SConscript | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tests/ftest/cart/utest/SConscript b/src/tests/ftest/cart/utest/SConscript index 97b4ffc4398..65d9d513c9f 100644 --- a/src/tests/ftest/cart/utest/SConscript +++ b/src/tests/ftest/cart/utest/SConscript @@ -1,5 +1,5 @@ #!python -# (C) Copyright 2016-2020 Intel Corporation. +# (C) Copyright 2016-2021 Intel Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/src/tests/ftest/cart/utest/test_linkage.cpp b/src/tests/ftest/cart/utest/test_linkage.cpp index ba6f66708b9..db461000aa4 100644 --- a/src/tests/ftest/cart/utest/test_linkage.cpp +++ b/src/tests/ftest/cart/utest/test_linkage.cpp @@ -1,5 +1,5 @@ /* - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ diff --git a/src/utils/crt_launch/SConscript b/src/utils/crt_launch/SConscript index 17ae33b742a..b423a4d9996 100644 --- a/src/utils/crt_launch/SConscript +++ b/src/utils/crt_launch/SConscript @@ -1,5 +1,5 @@ #!python -# (C) Copyright 2016-2020 Intel Corporation. +# (C) Copyright 2016-2021 Intel Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/src/utils/ctl/SConscript b/src/utils/ctl/SConscript index 0d45cc0fead..b9835136737 100644 --- a/src/utils/ctl/SConscript +++ b/src/utils/ctl/SConscript @@ -1,5 +1,5 @@ #!python -# (C) Copyright 2018-2020 Intel Corporation. +# (C) Copyright 2018-2021 Intel Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/src/utils/self_test/SConscript b/src/utils/self_test/SConscript index 025dd743345..e7bc9d7bd96 100644 --- a/src/utils/self_test/SConscript +++ b/src/utils/self_test/SConscript @@ -1,5 +1,5 @@ #!python -# (C) Copyright 2016-2020 Intel Corporation. +# (C) Copyright 2016-2021 Intel Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # From b1f3d2b8bd34f62cc7c9651aa7aad11952128b61 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Fri, 29 Jan 2021 22:20:52 +0000 Subject: [PATCH 13/20] Daos 6338 DAOS: Change DAOS license text Skip-build: true Skip-test: true Change-Id: Ie026372ee2d7d1eda2e61bf8cc1ce41accd50488 Signed-off-by: Hua Kuang --- .../resources/META-INF/services/org.apache.hadoop.fs.FileSystem | 2 +- src/tests/suite/io_conf/daos_io_conf_1 | 2 +- src/tests/suite/io_conf/daos_io_conf_2 | 2 +- src/tests/suite/io_conf/daos_io_conf_3 | 2 +- src/tests/suite/io_conf/daos_io_conf_4 | 2 +- src/tests/suite/io_conf/daos_io_conf_5 | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/client/java/hadoop-daos/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem b/src/client/java/hadoop-daos/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem index 9e614641a72..dfaf56a5ba8 100644 --- a/src/client/java/hadoop-daos/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem +++ b/src/client/java/hadoop-daos/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem @@ -1,4 +1,4 @@ -# (C) Copyright 2018-2020 Intel Corporation. +# (C) Copyright 2018-2021 Intel Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/src/tests/suite/io_conf/daos_io_conf_1 b/src/tests/suite/io_conf/daos_io_conf_1 index 6649c037f5c..78adfd42d8e 100644 --- a/src/tests/suite/io_conf/daos_io_conf_1 +++ b/src/tests/suite/io_conf/daos_io_conf_1 @@ -1,5 +1,5 @@ #/* -# * (C) Copyright 2018-2019 Intel Corporation. +# * (C) Copyright 2018-2021 Intel Corporation. # * # * SPDX-License-Identifier: BSD-2-Clause-Patent # */ diff --git a/src/tests/suite/io_conf/daos_io_conf_2 b/src/tests/suite/io_conf/daos_io_conf_2 index 172126db7f4..f912414ab3f 100644 --- a/src/tests/suite/io_conf/daos_io_conf_2 +++ b/src/tests/suite/io_conf/daos_io_conf_2 @@ -1,5 +1,5 @@ #/* -## * (C) Copyright 2018-2019 Intel Corporation. +## * (C) Copyright 2018-2021 Intel Corporation. ## * ## * SPDX-License-Identifier: BSD-2-Clause-Patent ## */ diff --git a/src/tests/suite/io_conf/daos_io_conf_3 b/src/tests/suite/io_conf/daos_io_conf_3 index 2108c33c4d5..4757743fdd2 100644 --- a/src/tests/suite/io_conf/daos_io_conf_3 +++ b/src/tests/suite/io_conf/daos_io_conf_3 @@ -1,5 +1,5 @@ #/* -## * (C) Copyright 2018-2019 Intel Corporation. +## * (C) Copyright 2018-2021 Intel Corporation. ## * ## * SPDX-License-Identifier: BSD-2-Clause-Patent ## */ diff --git a/src/tests/suite/io_conf/daos_io_conf_4 b/src/tests/suite/io_conf/daos_io_conf_4 index 7c5ffb1ef16..30a0b107d4e 100644 --- a/src/tests/suite/io_conf/daos_io_conf_4 +++ b/src/tests/suite/io_conf/daos_io_conf_4 @@ -1,5 +1,5 @@ #/* -## * (C) Copyright 2018-2019 Intel Corporation. +## * (C) Copyright 2018-2021 Intel Corporation. ## * ## * SPDX-License-Identifier: BSD-2-Clause-Patent ## */ diff --git a/src/tests/suite/io_conf/daos_io_conf_5 b/src/tests/suite/io_conf/daos_io_conf_5 index 0e36fe1aeaf..21de68929ea 100644 --- a/src/tests/suite/io_conf/daos_io_conf_5 +++ b/src/tests/suite/io_conf/daos_io_conf_5 @@ -1,5 +1,5 @@ #/* -## * (C) Copyright 2018-2019 Intel Corporation. +## * (C) Copyright 2018-2021 Intel Corporation. ## * ## * SPDX-License-Identifier: BSD-2-Clause-Patent ## */ From c80ef3d90de674f05a39e1a193cf11a76fd35893 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Sat, 30 Jan 2021 00:55:49 +0000 Subject: [PATCH 14/20] Daos 6338 DAOS: Change DAOS license text Skip-build: true Skip-test: true Change-Id: I8d87cbf84b5b2300293f5e7e89ea7fc8649a1a4f Signed-off-by: Hua Kuang --- src/control/lib/ipmctl/LICENSE | 51 ---------------------------------- src/gurt/examples/SConscript | 2 +- src/gurt/tests/SConscript | 2 +- 3 files changed, 2 insertions(+), 53 deletions(-) delete mode 100644 src/control/lib/ipmctl/LICENSE diff --git a/src/control/lib/ipmctl/LICENSE b/src/control/lib/ipmctl/LICENSE deleted file mode 100644 index b8ccd6aefb0..00000000000 --- a/src/control/lib/ipmctl/LICENSE +++ /dev/null @@ -1,51 +0,0 @@ -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/gurt/examples/SConscript b/src/gurt/examples/SConscript index 9c52fc8d933..7ebe36aad8a 100644 --- a/src/gurt/examples/SConscript +++ b/src/gurt/examples/SConscript @@ -1,4 +1,4 @@ -# (C) Copyright 2021 Intel Corporation. +# (C) Copyright 2020-2021 Intel Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/src/gurt/tests/SConscript b/src/gurt/tests/SConscript index 747eb3ddd9c..84c5a213ce8 100644 --- a/src/gurt/tests/SConscript +++ b/src/gurt/tests/SConscript @@ -1,4 +1,4 @@ -# (C) Copyright 2021 Intel Corporation. +# (C) Copyright 2020-2021 Intel Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # From daf86d09a88e6ef6a6ae7700e27b75a6f96a9f85 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Mon, 1 Feb 2021 16:25:06 +0000 Subject: [PATCH 15/20] Daos 6338 DAOS: Change DAOS license text Found few missed files to update. Skip-build: true Skip-test: true Change-Id: Ica9a3aad84f9b1d071e37ec4490d3ccc838c6935 Signed-off-by: Hua Kuang --- Jenkinsfile | 2 +- utils/rpms/daos.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2aaecb6bea0..86ad22e43b8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ * * This file is part of the DAOS Project. It is subject to the license terms * in the LICENSE file found in the top-level directory of this distribution - * and at https://img.shields.io/badge/License-Apache%202.0-blue.svg. + * and at https://img.shields.io/badge/License-BSD--2--Clause--Patent-blue.svg. * No part of the DAOS Project, including this file, may be copied, modified, * propagated, or distributed except according to the terms contained in the * LICENSE file. diff --git a/utils/rpms/daos.spec b/utils/rpms/daos.spec index 58436f365de..424fda7cd35 100644 --- a/utils/rpms/daos.spec +++ b/utils/rpms/daos.spec @@ -9,7 +9,7 @@ Version: 1.1.2.1 Release: 6%{?relval}%{?dist} Summary: DAOS Storage Engine -License: Apache +License: BSD-2-Clause-Patent URL: https//github.com/daos-stack/daos Source0: %{name}-%{version}.tar.gz From 3649ff3e8311f543f4fc0c061a762b82cb45dee6 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Mon, 1 Feb 2021 18:26:04 +0000 Subject: [PATCH 16/20] daos 6338 DAOS: Change DAOS license text Updated version and log in utils/rpms/daos.spec Skip-build: true Skip-test: true Change-Id: I5376658658aee93b25e56ac22b101c26c77a04ca Signed-off-by: Hua Kuang --- utils/rpms/daos.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/rpms/daos.spec b/utils/rpms/daos.spec index 424fda7cd35..d9cc930a48f 100644 --- a/utils/rpms/daos.spec +++ b/utils/rpms/daos.spec @@ -6,7 +6,7 @@ Name: daos Version: 1.1.2.1 -Release: 6%{?relval}%{?dist} +Release: 7%{?relval}%{?dist} Summary: DAOS Storage Engine License: BSD-2-Clause-Patent @@ -409,6 +409,9 @@ getent passwd daos_agent >/dev/null || useradd -s /sbin/nologin -r -g daos_agent %{_libdir}/*.a %changelog +* Mon Feb 1 2021 Hua Kuang 1.1.2.1-7 +- Changed License from Apache to BSD-2-Clause-Patent in this file + * Sat Jan 23 2021 Alexander Oganezov 1.1.2.1-6 - Update to mercury v2.0.1rc1 From 074657d8deb6adee336a17890a9e6d2a6080ea2c Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Tue, 2 Feb 2021 00:12:14 +0000 Subject: [PATCH 17/20] daos 6338 DAOS: Change DAOS license text Updated ./debian/copyright Skip-build: true Skip-test: true Change-Id: I002eabf113ff0614746a3a475400d23425c1c62d Signed-off-by: Hua Kuang --- debian/copyright | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/copyright b/debian/copyright index 91753b05f5a..879eebd9c4e 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,9 +3,9 @@ Upstream-Name: cart Source: https://github.com/daos-stack/cart Files: * -Copyright: Copyright 2016-2019 Intel Corporation -License: Intel_Open_Source_License - Copyright (C) 2016-2019 Intel Corporation +Copyright: Copyright 2016-2021 Intel Corporation +License: BSD-2-Clause-Patent + Copyright (C) 2016-2021 Intel Corporation All rights reserved. . Redistribution and use in source and binary forms, with or without @@ -61,4 +61,4 @@ License: GPL-2+ along with this program. If not, see . On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". \ No newline at end of file + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". From 9c65a48a464559a4c944d1fc9b06ecce4b34feb0 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Wed, 3 Feb 2021 14:23:58 +0000 Subject: [PATCH 18/20] Merge branch 'master' into daos-6338 Bump up version in daos.spec Skip-build: true Skip-test: true Change-Id: Ib4f9a89ebe36a6642a1a1fd64e2576c4a3e757a1 Signed-off-by: Hua Kuang --- utils/rpms/daos.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/rpms/daos.spec b/utils/rpms/daos.spec index 496fc6d84ab..4737c855b40 100644 --- a/utils/rpms/daos.spec +++ b/utils/rpms/daos.spec @@ -409,7 +409,7 @@ getent passwd daos_agent >/dev/null || useradd -s /sbin/nologin -r -g daos_agent %{_libdir}/*.a %changelog -* Mon Feb 3 2021 Hua Kuang 1.1.2.1-8 +* Wed Feb 3 2021 Hua Kuang 1.1.2.1-8 - Changed License from Apache to BSD-2-Clause-Patent in this file * Thu Jan 28 2021 Phillip Henderson 1.1.2.1-7 From f4b37a487c0807b7c20682edca6f06e83408a8fc Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Wed, 3 Feb 2021 17:02:27 +0000 Subject: [PATCH 19/20] daos-6338 update debian files Skip-build: true Skip-test: true Change-Id: Id3ad80fefd7b7dededaf2693110176db03d8c8b3 Signed-off-by: Hua Kuang --- debian/changelog | 6 ++++++ debian/copyright | 25 ++----------------------- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/debian/changelog b/debian/changelog index a0233ec189a..c054873a359 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +daos (1.1.2.1-8) unstable; urgency=medium + [ Hua Kuang ] + * Changed License to BSD-2-Clause-Patent + + -- Hua Kuang Wed, 3 Feb 2021 16:59:34 -0000 + daos (1.1.2.1-7) unstable; urgency=medium [ Alexander Oganezov ] * Fix debian packages to update to mercury v2.0.1rc1 diff --git a/debian/copyright b/debian/copyright index 879eebd9c4e..e28d8e3f2e8 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,6 +1,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: cart -Source: https://github.com/daos-stack/cart +Upstream-Name: daos +Source: https://github.com/daos-stack/daos Files: * Copyright: Copyright 2016-2021 Intel Corporation @@ -41,24 +41,3 @@ License: BSD-2-Clause-Patent 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. - -# If you want to use GPL v2 or later for the /debian/* files use -# the following clauses, or change it to suit. Delete these two lines -Files: debian/* -Copyright: 2019 daos-stack -License: GPL-2+ - This package is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see - . - On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". From 563003c84f313992a6accc74e442c038db134654 Mon Sep 17 00:00:00 2001 From: Hua Kuang Date: Wed, 3 Feb 2021 17:05:10 +0000 Subject: [PATCH 20/20] daos-6338 Updated changelogs Skip-build: true Skip-test: true Change-Id: I13d2a81320b76f4790019030d967d7af51772335 Signed-off-by: Hua Kuang --- utils/rpms/daos.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/rpms/daos.spec b/utils/rpms/daos.spec index 4737c855b40..66b029b32b1 100644 --- a/utils/rpms/daos.spec +++ b/utils/rpms/daos.spec @@ -410,7 +410,7 @@ getent passwd daos_agent >/dev/null || useradd -s /sbin/nologin -r -g daos_agent %changelog * Wed Feb 3 2021 Hua Kuang 1.1.2.1-8 -- Changed License from Apache to BSD-2-Clause-Patent in this file +- Changed License to BSD-2-Clause-Patent * Thu Jan 28 2021 Phillip Henderson 1.1.2.1-7 - Change ownership and permissions for the /etc/daos/certs directory.