This job view page is being replaced by Spyglass soon. Check out the new job view.
PRNikeNano: feat(sdk): CLI - Allow upload_version by the pipeline's name. Fixes #3901
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2020-07-04 12:05
Elapsed48s
Revisiondd3c0b5fafe3e3a332b7e43f2fc54966978cc287
Refs 4087

No Test Failures!


Error lines from build-log.txt

... skipping 205 lines ...
Installing collected packages: kfp
  Running setup.py develop for kfp
Successfully installed kfp
+ popd
/home/prow/go/src/github.com/kubeflow/pipelines
+ coverage run --source=kfp --append -m unittest discover --verbose --start-dir sdk/python --pattern '*test*.py'
kfp (unittest.loader._FailedTest) ... ERROR
tests.compiler.compiler_tests (unittest.loader._FailedTest) ... ERROR
test_add_python_package (tests.compiler.component_builder_test.TestDependencyHelper)
Test add_python_package ... ok
test_generate_requirement (tests.compiler.component_builder_test.TestDependencyHelper)
Test generating requirement file ... ok
test_generate_dockerfile (tests.compiler.component_builder_test.TestGenerator)
Test generate dockerfile ... ok
... skipping 4 lines ...
test if min_version and max_version are configured when version is not given ... ok
test_no_version (tests.compiler.component_builder_test.TestVersionedDependency)
test the no version scenario ... ok
test_version (tests.compiler.component_builder_test.TestVersionedDependency)
test version overrides min_version and max_version ... ok
test_generate_kaniko_yaml (tests.compiler.container_builder_test.TestContainerBuild)
Test generating the kaniko job yaml ... ERROR
test_generate_kaniko_yaml_kubeflow (tests.compiler.container_builder_test.TestContainerBuild)
Test generating the kaniko job yaml for Kubeflow deployment ... ERROR
test_wrap_dir_in_tarball (tests.compiler.container_builder_test.TestContainerBuild)
Test wrap files in a tarball ... ERROR
test_convert_k8s_obj_to_dic_accepts_dict (tests.compiler.k8s_helper_tests.TestCompiler) ... ok
tests.dsl.aws_extensions_tests (unittest.loader._FailedTest) ... ERROR
tests.dsl.component_bridge_tests (unittest.loader._FailedTest) ... ERROR
tests.dsl.component_tests (unittest.loader._FailedTest) ... ERROR
tests.dsl.container_op_tests (unittest.loader._FailedTest) ... ERROR
tests.dsl.extensions.test_kubernetes (unittest.loader._FailedTest) ... ERROR
test_to_dict (tests.dsl.metadata_tests.TestComponentMeta) ... ok
tests.dsl.ops_group_tests (unittest.loader._FailedTest) ... ERROR
test_extract_pipelineparam_with_types (tests.dsl.pipeline_param_tests.TestPipelineParam)
Test _extract_pipelineparams. ... ok
test_extract_pipelineparams (tests.dsl.pipeline_param_tests.TestPipelineParam)
Test _extract_pipeleineparams. ... ok
test_extract_pipelineparams_from_any (tests.dsl.pipeline_param_tests.TestPipelineParam)
Test extract_pipeleineparams. ... ok
test_extract_pipelineparams_from_dict (tests.dsl.pipeline_param_tests.TestPipelineParam)
Test extract_pipeleineparams. ... ok
test_invalid (tests.dsl.pipeline_param_tests.TestPipelineParam)
Invalid pipeline param name and op_name. ... ok
test_str_repr (tests.dsl.pipeline_param_tests.TestPipelineParam)
Test string representation. ... ok
tests.dsl.pipeline_tests (unittest.loader._FailedTest) ... ERROR
tests.dsl.pipeline_volume_tests (unittest.loader._FailedTest) ... ERROR
tests.dsl.resource_op_tests (unittest.loader._FailedTest) ... ERROR
tests.dsl.test_azure_extensions (unittest.loader._FailedTest) ... ERROR
test_check_types (tests.dsl.type_tests.TestTypes) ... ok
test_class_to_dict (tests.dsl.type_tests.TestTypes)
Test _class_to_dict function. ... ok
tests.dsl.volume_op_tests (unittest.loader._FailedTest) ... ERROR
tests.dsl.volume_snapshotop_tests (unittest.loader._FailedTest) ... ERROR
test_kfp_version (tests.test_kfp.KfpTestCase) ... ERROR

======================================================================
ERROR: kfp (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: kfp
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 470, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/__init__.py", line 20, in <module>
    from ._client import Client
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.compiler.compiler_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.compiler.compiler_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/compiler/compiler_tests.py", line 15, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: test_generate_kaniko_yaml (tests.compiler.container_builder_test.TestContainerBuild)
Test generating the kaniko job yaml
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/mock/mock.py", line 1366, in patched
    with self.decoration_helper(patched,
  File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__
... skipping 10 lines ...
    from ._client import Client
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)

======================================================================
ERROR: test_generate_kaniko_yaml_kubeflow (tests.compiler.container_builder_test.TestContainerBuild)
Test generating the kaniko job yaml for Kubeflow deployment
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/mock/mock.py", line 1366, in patched
    with self.decoration_helper(patched,
  File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__
... skipping 10 lines ...
    from ._client import Client
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)

======================================================================
ERROR: test_wrap_dir_in_tarball (tests.compiler.container_builder_test.TestContainerBuild)
Test wrap files in a tarball
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/mock/mock.py", line 1366, in patched
    with self.decoration_helper(patched,
  File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__
... skipping 10 lines ...
    from ._client import Client
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)

======================================================================
ERROR: tests.dsl.aws_extensions_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.aws_extensions_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/aws_extensions_tests.py", line 16, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.component_bridge_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.component_bridge_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/component_bridge_tests.py", line 18, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.component_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.component_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/component_tests.py", line 15, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.container_op_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.container_op_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/container_op_tests.py", line 19, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.extensions.test_kubernetes (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.extensions.test_kubernetes
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/extensions/test_kubernetes.py", line 16, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.ops_group_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.ops_group_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/ops_group_tests.py", line 15, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.pipeline_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.pipeline_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/pipeline_tests.py", line 15, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.pipeline_volume_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.pipeline_volume_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/pipeline_volume_tests.py", line 15, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.resource_op_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.resource_op_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/resource_op_tests.py", line 16, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.test_azure_extensions (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.test_azure_extensions
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/test_azure_extensions.py", line 16, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.volume_op_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.volume_op_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/volume_op_tests.py", line 20, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: tests.dsl.volume_snapshotop_tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.dsl.volume_snapshotop_tests
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/dsl/volume_snapshotop_tests.py", line 16, in <module>
... skipping 3 lines ...
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)


======================================================================
ERROR: test_kfp_version (tests.test_kfp.KfpTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/tests/test_kfp.py", line 5, in test_kfp_version
    import kfp
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/__init__.py", line 20, in <module>
    from ._client import Client
  File "/home/prow/go/src/github.com/kubeflow/pipelines/sdk/python/kfp/_client.py", line 37, in <module>
    from kfp_server_api import filter_pb2
ImportError: cannot import name 'filter_pb2' from 'kfp_server_api' (/usr/local/lib/python3.8/site-packages/kfp_server_api/__init__.py)

----------------------------------------------------------------------
Ran 36 tests in 0.022s

FAILED (errors=18)
ArtifactA has a property file_type with value: csv and tsv
type name A is different from expected: B
A has a property Y that the latter does not.
A has a property Y with value: value2 and value3