[
https://issues.apache.org/jira/browse/BEAM-10987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213340#comment-17213340
]
Brian Hulette commented on BEAM-10987:
--------------------------------------
Notably the object that is getting pulled in from the main_session and failing
to pickle is a zipimporter of the pytest.exe:
{code}
self = <dill._dill.Pickler object at 0x000002C7C5B72940>
obj = <zipimporter object
"D:\a\beam\beam\sdks\python\target\.tox\py36-win\Scripts\pytest.exe">
save_persistent_id = True
{code}
pytest must only create this zipimporter object when running on Windows. I'm
curious why it's flaky and not failing permanently. Maybe the object is no
longer used and sometimes gets GC'd before we attempt to pickle it?
> stager_test.py flaky on windows py3.6,3.7
> -----------------------------------------
>
> Key: BEAM-10987
> URL: https://issues.apache.org/jira/browse/BEAM-10987
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Brian Hulette
> Assignee: Brian Hulette
> Priority: P1
>
> Frequently fails with:
> {code}
> TypeError: can't pickle zipimport.zipimporter objects
> {code}
> Example:
> https://github.com/apache/beam/pull/12505/checks?check_run_id=1183364761
--
This message was sent by Atlassian Jira
(v8.3.4#803005)