{"action":"opened","issue":{"url":"https://api.github.com/repos/F5Networks/f5-openstack-lbaasv2-driver/issues/728","repository_url":"https://api.github.com/repos/F5Networks/f5-openstack-lbaasv2-driver","labels_url":"https://api.github.com/repos/F5Networks/f5-openstack-lbaasv2-driver/issues/728/labels{/name}","comments_url":"https://api.github.com/repos/F5Networks/f5-openstack-lbaasv2-driver/issues/728/comments","events_url":"https://api.github.com/repos/F5Networks/f5-openstack-lbaasv2-driver/issues/728/events","html_url":"https://github.com/F5Networks/f5-openstack-lbaasv2-driver/issues/728","id":248211609,"number":728,"title":"Driver tempest tests do not run in nightly -- permission denied","user":{"login":"pjbreaux","id":14225800,"avatar_url":"https://avatars1.githubusercontent.com/u/14225800?v=4","gravatar_id":"","url":"https://api.github.com/users/pjbreaux","html_url":"https://github.com/pjbreaux","followers_url":"https://api.github.com/users/pjbreaux/followers","following_url":"https://api.github.com/users/pjbreaux/following{/other_user}","gists_url":"https://api.github.com/users/pjbreaux/gists{/gist_id}","starred_url":"https://api.github.com/users/pjbreaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjbreaux/subscriptions","organizations_url":"https://api.github.com/users/pjbreaux/orgs","repos_url":"https://api.github.com/users/pjbreaux/repos","events_url":"https://api.github.com/users/pjbreaux/events{/privacy}","received_events_url":"https://api.github.com/users/pjbreaux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zancas","id":640955,"avatar_url":"https://avatars0.githubusercontent.com/u/640955?v=4","gravatar_id":"","url":"https://api.github.com/users/zancas","html_url":"https://github.com/zancas","followers_url":"https://api.github.com/users/zancas/followers","following_url":"https://api.github.com/users/zancas/following{/other_user}","gists_url":"https://api.github.com/users/zancas/gists{/gist_id}","starred_url":"https://api.github.com/users/zancas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zancas/subscriptions","organizations_url":"https://api.github.com/users/zancas/orgs","repos_url":"https://api.github.com/users/zancas/repos","events_url":"https://api.github.com/users/zancas/events{/privacy}","received_events_url":"https://api.github.com/users/zancas/received_events","type":"User","site_admin":false},"assignees":[{"login":"zancas","id":640955,"avatar_url":"https://avatars0.githubusercontent.com/u/640955?v=4","gravatar_id":"","url":"https://api.github.com/users/zancas","html_url":"https://github.com/zancas","followers_url":"https://api.github.com/users/zancas/followers","following_url":"https://api.github.com/users/zancas/following{/other_user}","gists_url":"https://api.github.com/users/zancas/gists{/gist_id}","starred_url":"https://api.github.com/users/zancas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zancas/subscriptions","organizations_url":"https://api.github.com/users/zancas/orgs","repos_url":"https://api.github.com/users/zancas/repos","events_url":"https://api.github.com/users/zancas/events{/privacy}","received_events_url":"https://api.github.com/users/zancas/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-08-05T21:52:40Z","updated_at":"2017-08-05T21:52:40Z","closed_at":null,"body":"#### Description\r\nThe tempest tests that are located in the driver are not running in the nightly test runs. During the tox installation of dependencies we get a failure permission denied error:\r\n\r\n```\r\n02:12:34 WARNING:Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.\r\n02:12:35 ERROR: invocation failed (exit code 2), logfile: /home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/.tox/tempest/log/tempest-3.log\r\n02:12:35 ERROR: actionid: tempest\r\n02:12:35 msg: installpkg\r\n02:12:35 cmdargs: ['/usr/local/bin/pip', 'install', '-U', '--no-deps', '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/.tox/dist/f5-openstack-lbaasv2-driver-9.3.3b2.zip']\r\n02:12:35 env: {'EXCLUDE_FILE': 'tempest_12.1.1_undercloud_vxlan.yaml', 'BUILD_URL': 'http://jenkins.pdbld.f5net.com/job/openstack/job/driver/job/mitaka/job/12.1.1-undercloud-vxlan/106/', 'BUILD_TAG': 'jenkins-openstack-driver-mitaka-12.1.1-undercloud-vxlan-106', 'TLC_FILE': '/home/jenkins/dev-test/traffic/undercloud/tempest_ve_undercloud.tlc', 'VIRTUAL_ENV': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/.tox/tempest', 'UPPER_CONSTRAINTS_FILE': 'https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/mitaka', 'TEST_COMMON_LIB': '/home/jenkins/dev-test/common', 'FROM_AGENT_SESSION': 'from.agent_3bfbcfc_20170805-014318', 'TEMPEST_VENV_ACTIVATE': '/home/jenkins/virtualenvs/tempest/bin/activate', 'MFLAGS': '-w', 'BUILD_NUMBER': '106', 'JOB_URL': 'http://jenkins.pdbld.f5net.com/job/openstack/job/driver/job/mitaka/job/12.1.1-undercloud-vxlan/', 'NEUTRON_LBAAS_REPO': 'https://github.com/F5Networks/neutron-lbaas.git', 'TEST_SESSION': 'tempest_12.1.1_undercloud_vxlan_mitaka_3bfbcfc_20170805-014318', 'OS_TENANT_NAME': 'openstack-test', 'SCENARIO_SESSION': 'scenario_3bfbcfc_20170805-014318', 'JOB_BASE_NAME': '12.1.1-undercloud-vxlan', 'TEST_OPENSTACK_NODE_COUNT': '3', 'JOB_DISPLAY_URL': 'http://jenkins.pdbld.f5net.com/job/openstack/job/driver/job/mitaka/job/12.1.1-undercloud-vxlan/display/redirect', 'TEMPEST_CONFIG_DIR': '/home/jenkins/virtualenvs/tempest/etc/tempest', 'HOSTNAME': '0069cce0060c', 'EXECUTOR_NUMBER': '2', 'VENVDIR': '/home/jenkins/virtualenvs', 'JENKINS_HOME': '/var/jenkins_home', 'MAKEFILE_DIR': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/systest/', 'HUDSON_SERVER_COOKIE': 'c7f851ca6b0adc68', 'USER': 'jenkins', 'CI_PROJECT': 'driver', 'API_SESSION': 'api_3bfbcfc_20170805-014318', 'RUN_DISPLAY_URL': 'http://jenkins.pdbld.f5net.com/job/openstack/job/driver/job/mitaka/job/12.1.1-undercloud-vxlan/106/display/redirect', 'TEST_OPENSTACK_DISTRO': 'mitaka', 'MAKELEVEL': '3', 'SHLVL': '2', 'RESULTS_DIR': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/systest//test_results/f5-openstack-lbaasv2-driver_mitaka-tempest_12.1.1_undercloud_vxlan', 'CI_BUILD_SUMMARY': '/home/jenkins/results/openstack.driver.mitaka.12.1.1-undercloud-vxlan/12.1.1-undercloud-vxlan-106/ci-build.yaml', 'EXCLUDE_DIR': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/systest//exclude/', 'DOCKER_REGISTRY_URL': 'https://docker-registry.pdbld.f5net.com', 'TEMPEST_REPO': 'http://git.openstack.org/openstack/tempest', 'CLASSPATH': '', 'CI_BRANCH': 'mitaka', 'RUN_CHANGES_DISPLAY_URL': 'http://jenkins.pdbld.f5net.com/job/openstack/job/driver/job/mitaka/job/12.1.1-undercloud-vxlan/106/display/redirect?page=changes', 'OS_PASSWORD': 'openstack-test', 'DRIVER_TEMPEST_SESSION': 'driver.tempest_3bfbcfc_20170805-014318', 'TEST_OPENSTACK_DEPLOY': 'multinode', '_': '/usr/local/bin/tox', 'TIMESTAMP': '20170805-014318', 'TLC_FILE_DIR': '/home/jenkins/dev-test/traffic', 'CI_RESULTS_DIR': '/home/jenkins/results/openstack.driver.mitaka.12.1.1-undercloud-vxlan/12.1.1-undercloud-vxlan-106', 'OS_TEST_PATH': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/f5lbaasdriver/test/tempest/tests', 'GLANCE_COMPUTE_STORAGE': 'NFS', 'TEMPEST_VENV_DIR': '/home/jenkins/virtualenvs/tempest', 'HUDSON_URL': 'http://jenkins.pdbld.f5net.com/', 'NEUTRON_LBAAS_DIR': '/home/jenkins/neutron-lbaas', 'WORKSPACE': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan', 'HOME': '/home/jenkins', 'JOB_NAME': 'openstack/driver/mitaka/12.1.1-undercloud-vxlan', 'TEST_CIRROS_IMAGE': 'cirros-0.3.4-x86_64-disk.qcow2', 'NEUTRON_LBAAS_BRANCH': 'stable/mitaka', 'HUDSON_HOME': '/var/jenkins_home', 'PYTHONHASHSEED': '4182253217', 'TEST_DIR': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/systest../test', 'TEST_VE_IMAGE': 'os_ready-BIGIP-12.1.1.2.0.204.qcow2', 'DEVTEST_REPO': 'git@gitlab.pdbld.f5net.com:openstack/dev-test.git', 'NODE_NAME': 'jenkins-docker-host-01', 'PROJROOTDIR': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/systest/../', 'OS_AUTH_URL': 'http://10.190.22.22:5000/v2.0', 'BRANCH': 'mitaka', 'TEST_OPENSTACK_CLOUD': 'undercloud', 'CI_ENV_FILE': 'systest/12.1.1-undercloud-vxlan.env', 'OS_REGION_NAME': 'RegionOne', 'JENKINS_URL': 'http://jenkins.pdbld.f5net.com/', 'OS_PROJECT_NAME': 'openstack-test', 'NODE_LABELS': 'docker jenkins-docker-host-01', 'GUMBALLS_PROJECT': 'f5-openstack-lbaasv2-driver_mitaka-tempest_12.1.1_undercloud_vxlan', 'MAKEFLAGS': 'w', 'SSH_AGENT_PID': '31', 'CI_PROGRAM': 'openstack', 'PWD': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan', 'OS_TENANT_ID': 'd32adfee36a54e899c110f5c5070ef05', 'BUILD_ID': '106', 'OS_USERNAME': 'openstack-test', 'SSH_AUTH_SOCK': '/tmp/ssh-bNlJyihNcAww/agent.30', 'PATH': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/.tox/tempest/bin:/tools/bin:/tools/bin:/tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'TEST_TENANT_NETWORK_TYPE': 'vxlan', 'DEVTEST_DIR': '/home/jenkins/dev-test', 'JENKINS_SERVER_COOKIE': 'durable-45a9d0a132aea51bfb98ffdb6f3f16fe', 'BUILD_DISPLAY_NAME': '#106', 'TEMPEST_DIR': '/home-local/jenkins/workspace/openstack/driver/mitaka/12.1.1-undercloud-vxlan/systest/../tempest'}\r\n02:12:35 \r\n02:12:35 Processing ./.tox/dist/f5-openstack-lbaasv2-driver-9.3.3b2.zip\r\n02:12:35 Installing collected packages: f5-openstack-lbaasv2-driver\r\n02:12:35   Found existing installation: f5-openstack-lbaasv2-driver 9.3.3b2\r\n02:12:35     Uninstalling f5-openstack-lbaasv2-driver-9.3.3b2:\r\n02:12:35 Exception:\r\n02:12:35 Traceback (most recent call last):\r\n02:12:35   File \"/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py\", line 215, in main\r\n02:12:35     status = self.run(options, args)\r\n02:12:35   File \"/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py\", line 342, in run\r\n02:12:35     prefix=options.prefix_path,\r\n02:12:35   File \"/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py\", line 778, in install\r\n02:12:35     requirement.uninstall(auto_confirm=True)\r\n02:12:35   File \"/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py\", line 754, in uninstall\r\n02:12:35     paths_to_remove.remove(auto_confirm)\r\n02:12:35   File \"/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_uninstall.py\", line 115, in remove\r\n02:12:35     renames(path, new_path)\r\n02:12:35   File \"/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py\", line 267, in renames\r\n02:12:35     shutil.move(old, new)\r\n02:12:35   File \"/usr/lib/python2.7/shutil.py\", line 303, in move\r\n02:12:35     os.unlink(src)\r\n02:12:35 OSError: [Errno 13] Permission denied: '/usr/local/bin/add_f5agent_environment'\r\n02:12:35 \r\n```"}}
{"actor":{"display_login":"pjbreaux"}}