[ 
https://issues.apache.org/jira/browse/BEAM-9719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17077676#comment-17077676
 ] 

Chamikara Madhusanka Jayalath commented on BEAM-9719:
-----------------------------------------------------

We can dig around a bit to see if we can fix this test without reverting 
(assuming these are the only tests failing).

 

Failure seems to be from execution time, not from pipeline construction. So 
it's possible that Flink/Spark needs this dependency included in the base image 
(or somehow has to be updated to include the dependency) for the test to pass. 

 
*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 715, in wrapper*16:38:31*     result = cache[args] = 
func(*args)*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 793, in get_operation*16:38:31*     transform_id, 
transform_consumers)*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 1089, in create_operation*16:38:31*     return creator(self, 
transform_id, transform_proto, payload, consumers)*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 1413, in create_par_do*16:38:31*     parameter)*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 1449, in _create_pardo_operation*16:38:31*     dofn_data = 
pickler.loads(serialized_fn)*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/apache_beam/internal/pickler.py", line 
287, in loads*16:38:31*     return dill.loads(s)*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/dill/_dill.py", line 275, in 
loads*16:38:31*     return load(file, ignore, **kwds)*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/dill/_dill.py", line 270, in 
load*16:38:31*     return Unpickler(file, ignore=ignore, 
**kwds).load()*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/dill/_dill.py", line 472, in 
load*16:38:31*     obj = StockUnpickler.load(self)*16:38:31*   File 
"/usr/local/lib/python2.7/pickle.py", line 864, in load*16:38:31*     
dispatch[key](self)*16:38:31*   File "/usr/local/lib/python2.7/pickle.py", line 
1139, in load_reduce*16:38:31*     value = func(*args)*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/dill/_dill.py", line 827, in 
_import_module*16:38:31*     return getattr(__import__(module, None, None, 
[obj]), obj)*16:38:31*   File 
"/usr/local/lib/python2.7/site-packages/apache_beam/transforms/validate_runner_xlang_test.py",
 line 24, in <module>*16:38:31*     from nose.plugins.attrib import 
attr*16:38:31* ImportError: No module named nose.plugins.attrib

> Cross-language test suites failing due to mossing nose plugin
> -------------------------------------------------------------
>
>                 Key: BEAM-9719
>                 URL: https://issues.apache.org/jira/browse/BEAM-9719
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-harness, test-failures
>            Reporter: Chamikara Madhusanka Jayalath
>            Priority: Major
>
> Seems like due to [https://github.com/apache/beam/pull/11307]
>  
> [https://builds.apache.org/view/A-D/view/Beam/view/PostCommit/job/beam_PostCommit_XVR_Flink/]
>  
> [https://builds.apache.org/view/A-D/view/Beam/view/PostCommit/job/beam_PostCommit_XVR_Spark/]
>  
> *16:00:54*   File 
> "/usr/local/lib/python2.7/site-packages/apache_beam/transforms/validate_runner_xlang_test.py",
>  line 24, in <module>*16:00:54*     from nose.plugins.attrib import 
> attr*16:00:54* ImportError: No module named nose.plugins.attrib
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to