From 97b4b323036b4174eb532c683ded09119b562416 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 12 Jul 2016 10:24:38 +0200 Subject: Stop creating the useless ODL results dir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Outputs and logs are pushed in ${FUNCTEST_RESULTS_DIR}/odl (instead of ${FUNCTEST_RESULTS_DIR}/ODL). And this directory is created by the related testing script. Change-Id: Ie4ad6228d81d3578e777029da45700da09dba8fc Signed-off-by: Cédric Ollivier --- ci/prepare_env.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ci') diff --git a/ci/prepare_env.py b/ci/prepare_env.py index 4f29260f6..ed6a4ed5f 100644 --- a/ci/prepare_env.py +++ b/ci/prepare_env.py @@ -133,13 +133,6 @@ def create_directories(): else: logger.debug(" %s already exists." % FUNCTEST_DATA_DIR) - ODL_RESULTS_DIR = FUNCTEST_RESULTS_DIR + "/ODL/" - if not os.path.exists(ODL_RESULTS_DIR): - os.makedirs(ODL_RESULTS_DIR) - logger.info(" %s created." % ODL_RESULTS_DIR) - else: - logger.debug(" %s already exists." % ODL_RESULTS_DIR) - def source_rc_file(): print_separator() -- cgit 1.2.3-korg From 405c02c77fce358d3005732b6e220e83ddef75a3 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 12 Jul 2016 11:12:32 +0200 Subject: Chmod 755 all py files which can be executed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All files where __main__ is checked can now be executed by everyone. It results from [1]. [1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755 Change-Id: I9ad153cfdde0447213e35dac102e668d9e754cf9 Signed-off-by: Cédric Ollivier --- ci/prepare_env.py | 0 ci/run_tests.py | 0 testcases/Controllers/ODL/odlreport2db.py | 0 testcases/Controllers/ONOS/Teston/onosfunctest.py | 0 testcases/OpenStack/examples/create_instance_and_ip.py | 0 testcases/OpenStack/tempest/run_tempest.py | 0 testcases/OpenStack/vPing/vPing_ssh.py | 0 testcases/OpenStack/vPing/vPing_userdata.py | 0 testcases/features/bgpvpn.py | 0 testcases/features/doctor.py | 0 testcases/features/promise.py | 0 testcases/features/sfc/sfc.py | 0 testcases/security_scan/security_scan.py | 0 testcases/vnf/vIMS/vIMS.py | 0 utils/openstack_clean.py | 0 utils/openstack_snapshot.py | 0 16 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 ci/prepare_env.py mode change 100644 => 100755 ci/run_tests.py mode change 100644 => 100755 testcases/Controllers/ODL/odlreport2db.py mode change 100644 => 100755 testcases/Controllers/ONOS/Teston/onosfunctest.py mode change 100644 => 100755 testcases/OpenStack/examples/create_instance_and_ip.py mode change 100644 => 100755 testcases/OpenStack/tempest/run_tempest.py mode change 100644 => 100755 testcases/OpenStack/vPing/vPing_ssh.py mode change 100644 => 100755 testcases/OpenStack/vPing/vPing_userdata.py mode change 100644 => 100755 testcases/features/bgpvpn.py mode change 100644 => 100755 testcases/features/doctor.py mode change 100644 => 100755 testcases/features/promise.py mode change 100644 => 100755 testcases/features/sfc/sfc.py mode change 100644 => 100755 testcases/security_scan/security_scan.py mode change 100644 => 100755 testcases/vnf/vIMS/vIMS.py mode change 100644 => 100755 utils/openstack_clean.py mode change 100644 => 100755 utils/openstack_snapshot.py (limited to 'ci') diff --git a/ci/prepare_env.py b/ci/prepare_env.py old mode 100644 new mode 100755 diff --git a/ci/run_tests.py b/ci/run_tests.py old mode 100644 new mode 100755 diff --git a/testcases/Controllers/ODL/odlreport2db.py b/testcases/Controllers/ODL/odlreport2db.py old mode 100644 new mode 100755 diff --git a/testcases/Controllers/ONOS/Teston/onosfunctest.py b/testcases/Controllers/ONOS/Teston/onosfunctest.py old mode 100644 new mode 100755 diff --git a/testcases/OpenStack/examples/create_instance_and_ip.py b/testcases/OpenStack/examples/create_instance_and_ip.py old mode 100644 new mode 100755 diff --git a/testcases/OpenStack/tempest/run_tempest.py b/testcases/OpenStack/tempest/run_tempest.py old mode 100644 new mode 100755 diff --git a/testcases/OpenStack/vPing/vPing_ssh.py b/testcases/OpenStack/vPing/vPing_ssh.py old mode 100644 new mode 100755 diff --git a/testcases/OpenStack/vPing/vPing_userdata.py b/testcases/OpenStack/vPing/vPing_userdata.py old mode 100644 new mode 100755 diff --git a/testcases/features/bgpvpn.py b/testcases/features/bgpvpn.py old mode 100644 new mode 100755 diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py old mode 100644 new mode 100755 diff --git a/testcases/features/promise.py b/testcases/features/promise.py old mode 100644 new mode 100755 diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py old mode 100644 new mode 100755 diff --git a/testcases/security_scan/security_scan.py b/testcases/security_scan/security_scan.py old mode 100644 new mode 100755 diff --git a/testcases/vnf/vIMS/vIMS.py b/testcases/vnf/vIMS/vIMS.py old mode 100644 new mode 100755 diff --git a/utils/openstack_clean.py b/utils/openstack_clean.py old mode 100644 new mode 100755 diff --git a/utils/openstack_snapshot.py b/utils/openstack_snapshot.py old mode 100644 new mode 100755 -- cgit 1.2.3-korg