GLOB sdist-make: ccsdk/plugins/helm/setup.py flake8 inst-nodeps: ccsdk/plugins/helm/.tox/.tmp/package/1/helm-4.0.2.zip flake8 installed: bottle==0.12.7,certifi==2019.9.11,chardet==3.0.4,cloudify-common==5.0.5.dev1,decorator==4.4.1,entrypoints==0.3,flake8==3.7.9,helm==4.0.2,idna==2.8,Jinja2==2.10,MarkupSafe==1.1.1,mccabe==0.6.1,networkx==1.9.1,pika==0.11.2,ply==3.11,proxy-tools==0.1.0,pyasn1==0.4.7,pycodestyle==2.5.0,pycryptodomex==3.9.3,pyflakes==2.1.1,pysmi==0.3.4,pysnmp==4.4.5,PyYAML==5.1.2,requests==2.22.0,requests-toolbelt==0.8.0,retrying==1.3.3,six==1.13.0,urllib3==1.25.7 flake8 run-test-pre: PYTHONHASHSEED='1235753858' flake8 run-test: commands[0] | flake8 plugin py27 inst-nodeps: ccsdk/plugins/helm/.tox/.tmp/package/1/helm-4.0.2.zip py27 installed: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support,bottle==0.12.7,certifi==2019.9.11,chardet==3.0.4,cloudify-dsl-parser==4.1.1,cloudify-plugins-common==4.1.1,cloudify-rest-client==4.1.1,cov-core==1.15.0,coverage==3.7.1,funcsigs==1.0.2,helm==4.0.2,idna==2.8,Jinja2==2.7.2,MarkupSafe==1.1.1,mock==3.0.5,networkx==1.8.1,nose==1.3.7,nose-cov==1.6,pika==0.9.14,proxy-tools==0.1.0,PyYAML==5.1.2,requests==2.22.0,requests-toolbelt==0.9.1,retrying==1.3.3,six==1.13.0,testfixtures==6.10.1,urllib3==1.25.7 py27 run-test-pre: PYTHONHASHSEED='1235753858' py27 run-test: commands[0] | nosetests --with-xunit --with-cov --cov-report=xml --cov plugin plugin/tests ...E..E ====================================================================== ERROR: :param cfy_local: ---------------------------------------------------------------------- Traceback (most recent call last): File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/test_utils/local_workflow_decorator.py", line 259, in wrapped_test test(func_self, test_env, *args, **kwargs) File "ccsdk/plugins/helm/plugin/tests/test_plugin.py", line 106, in test_rollback parameters={'node_instance_id': node_instance_id, 'revision': revision}) File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/workflows/local.py", line 139, in execute return dispatch.dispatch(__cloudify_context=ctx, **merged_parameters) File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/dispatch.py", line 616, in dispatch return handler.handle_or_dispatch_to_subprocess_if_remote() File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/dispatch.py", line 101, in handle_or_dispatch_to_subprocess_if_remote return self.handle() File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/dispatch.py", line 421, in handle return self._handle_local_workflow() File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/dispatch.py", line 532, in _handle_local_workflow result = self._execute_workflow_function() File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/dispatch.py", line 544, in _execute_workflow_function result = self.func(*self.args, **self.kwargs) File "ccsdk/plugins/helm/plugin/workflows.py", line 64, in rollback node_instance.execute_operation(**operation_args) AttributeError: 'NoneType' object has no attribute 'execute_operation' -------------------- >> begin captured stdout << --------------------- 2019-11-14 18:14:38.856 CFY Starting 'rollback' workflow execution 2019-11-14 18:14:38.856 CFY 'rollback' workflow execution failed: 'NoneType' object has no attribute 'execute_operation' --------------------- >> end captured stdout << ---------------------- -------------------- >> begin captured logging << -------------------- urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): www.getcloudify.org:80 urllib3.connectionpool: DEBUG: http://www.getcloudify.org:80 "GET /spec/cloudify/4.1.1/types.yaml HTTP/1.1" 301 185 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): getcloudify.org:443 urllib3.connectionpool: DEBUG: https://getcloudify.org:443 "GET /spec/cloudify/4.1.1/types.yaml HTTP/1.1" 200 25197 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: :param cfy_local: ---------------------------------------------------------------------- Traceback (most recent call last): File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/test_utils/local_workflow_decorator.py", line 259, in wrapped_test test(func_self, test_env, *args, **kwargs) File "ccsdk/plugins/helm/plugin/tests/test_plugin.py", line 130, in test_upgrade 'repo_user': repo_user, 'repo_user_password': repo_user_passwd File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/workflows/local.py", line 137, in execute workflow, workflow_name, parameters, allow_custom_parameters) File "ccsdk/plugins/helm/.tox/py27/local/lib/python2.7/site-packages/cloudify/workflows/local.py", line 341, in _merge_and_validate_execution_parameters .format(workflow_name, ','.join(custom_parameters.keys()))) ValueError: Workflow "upgrade" does not have the following parameters declared: repo_user,repo_user_password. Remove these parameters or use the flag for allowing custom parameters -------------------- >> begin captured logging << -------------------- urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): www.getcloudify.org:80 urllib3.connectionpool: DEBUG: http://www.getcloudify.org:80 "GET /spec/cloudify/4.1.1/types.yaml HTTP/1.1" 301 185 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): getcloudify.org:443 urllib3.connectionpool: DEBUG: https://getcloudify.org:443 "GET /spec/cloudify/4.1.1/types.yaml HTTP/1.1" 200 25197 --------------------- >> end captured logging << --------------------- ---------- coverage: platform linux2, python 2.7.15-final-0 ---------- Coverage XML written to file coverage.xml ---------------------------------------------------------------------- Ran 7 tests in 11.980s FAILED (errors=2) ERROR: InvocationError for command ccsdk/plugins/helm/.tox/py27/bin/nosetests --with-xunit --with-cov --cov-report=xml --cov plugin plugin/tests (exited with code 1) py36 inst-nodeps: ccsdk/plugins/helm/.tox/.tmp/package/1/helm-4.0.2.zip py36 installed: bottle==0.12.7,certifi==2019.9.11,chardet==3.0.4,cloudify-common==5.0.5.dev1,cov-core==1.15.0,coverage==4.5.4,decorator==4.4.1,helm==4.0.2,idna==2.8,Jinja2==2.10,MarkupSafe==1.1.1,mock==3.0.5,networkx==1.9.1,nose==1.3.7,nose-cov==1.6,pika==0.11.2,ply==3.11,proxy-tools==0.1.0,pyasn1==0.4.7,pycryptodomex==3.9.3,pysmi==0.3.4,pysnmp==4.4.5,PyYAML==5.1.2,requests==2.22.0,requests-toolbelt==0.8.0,retrying==1.3.3,six==1.13.0,testfixtures==6.10.1,urllib3==1.25.7 py36 run-test-pre: PYTHONHASHSEED='1235753858' py36 run-test: commands[0] | nosetests --with-xunit --with-cov --cov-report=xml --cov plugin plugin/tests ...E..E ====================================================================== ERROR: :param cfy_local: ---------------------------------------------------------------------- Traceback (most recent call last): File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/test_utils/local_workflow_decorator.py", line 259, in wrapped_test test(func_self, test_env, *args, **kwargs) File "ccsdk/plugins/helm/plugin/tests/test_plugin.py", line 106, in test_rollback parameters={'node_instance_id': node_instance_id, 'revision': revision}) File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/workflows/local.py", line 146, in execute raise e File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/workflows/local.py", line 141, in execute **merged_parameters) File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/dispatch.py", line 793, in dispatch return handler.handle_or_dispatch_to_subprocess_if_remote() File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/dispatch.py", line 193, in handle_or_dispatch_to_subprocess_if_remote return self.handle() File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/dispatch.py", line 544, in handle return self._handle_local_workflow() File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/dispatch.py", line 680, in _handle_local_workflow result = self._execute_workflow_function() File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/dispatch.py", line 692, in _execute_workflow_function result = self.func(*self.args, **self.kwargs) File "ccsdk/plugins/helm/plugin/workflows.py", line 64, in rollback node_instance.execute_operation(**operation_args) AttributeError: 'NoneType' object has no attribute 'execute_operation' -------------------- >> begin captured stdout << --------------------- 2019-11-14 18:14:52.351 CFY b"Starting 'rollback' workflow execution" 2019-11-14 18:14:52.352 CFY b"'rollback' workflow execution failed: 'NoneType' object has no attribute 'execute_operation'" --------------------- >> end captured stdout << ---------------------- -------------------- >> begin captured logging << -------------------- urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): www.getcloudify.org:80 urllib3.connectionpool: DEBUG: http://www.getcloudify.org:80 "GET /spec/cloudify/4.1.1/types.yaml HTTP/1.1" 301 185 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): getcloudify.org:443 urllib3.connectionpool: DEBUG: https://getcloudify.org:443 "GET /spec/cloudify/4.1.1/types.yaml HTTP/1.1" 200 25197 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: :param cfy_local: ---------------------------------------------------------------------- Traceback (most recent call last): File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/test_utils/local_workflow_decorator.py", line 259, in wrapped_test test(func_self, test_env, *args, **kwargs) File "ccsdk/plugins/helm/plugin/tests/test_plugin.py", line 130, in test_upgrade 'repo_user': repo_user, 'repo_user_password': repo_user_passwd File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/workflows/local.py", line 137, in execute workflow, workflow_name, parameters, allow_custom_parameters) File "ccsdk/plugins/helm/.tox/py36/lib/python3.6/site-packages/cloudify/workflows/local.py", line 348, in _merge_and_validate_execution_parameters .format(workflow_name, ','.join(custom_parameters.keys()))) ValueError: Workflow "upgrade" does not have the following parameters declared: repo_user,repo_user_password. Remove these parameters or use the flag for allowing custom parameters -------------------- >> begin captured logging << -------------------- urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): www.getcloudify.org:80 urllib3.connectionpool: DEBUG: http://www.getcloudify.org:80 "GET /spec/cloudify/4.1.1/types.yaml HTTP/1.1" 301 185 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): getcloudify.org:443 urllib3.connectionpool: DEBUG: https://getcloudify.org:443 "GET /spec/cloudify/4.1.1/types.yaml HTTP/1.1" 200 25197 --------------------- >> end captured logging << --------------------- ----------- coverage: platform linux, python 3.6.8-final-0 ----------- Coverage XML written to file coverage.xml ---------------------------------------------------------------------- Ran 7 tests in 10.557s FAILED (errors=2) ERROR: InvocationError for command ccsdk/plugins/helm/.tox/py36/bin/nosetests --with-xunit --with-cov --cov-report=xml --cov plugin plugin/tests (exited with code 1) ___________________________________ summary ____________________________________ flake8: commands succeeded ERROR: py27: commands failed ERROR: py36: commands failed