[
https://issues.apache.org/jira/browse/BEAM-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16144523#comment-16144523
]
Mark Liu commented on BEAM-2813:
--------------------------------
Not sure if pinning a dependency will work since both pyasn1 and pyasn1-modules
are not directly required by Beam. Also looks like Nose needs to check each
installed packages and it's dependencies' version before load a customized
plugin.
However we can use tools like
[pipdeptree|https://pypi.python.org/pypi/pipdeptree] to show and verify
dependency tree separately.
[pipdeptree|https://pypi.python.org/pypi/pipdeptree] can print potential
conflicts to console.
> error: option --test-pipeline-options not recognized
> ----------------------------------------------------
>
> Key: BEAM-2813
> URL: https://issues.apache.org/jira/browse/BEAM-2813
> Project: Beam
> Issue Type: Bug
> Components: sdk-py
> Reporter: Ahmet Altay
> Assignee: Mark Liu
>
> Python post commits 3004 to 3008 (all 5) failed with this error, but somehow
> fixed in 3009. Mark do you know what might be causing this?
> https://builds.apache.org/view/A-D/view/Beam/job/beam_PostCommit_Python_Verify/3004/
> https://builds.apache.org/view/A-D/view/Beam/job/beam_PostCommit_Python_Verify/3009/
> The error is:
> # Run ValidatesRunner tests on Google Cloud Dataflow service
> echo ">>> RUNNING DATAFLOW RUNNER VALIDATESRUNNER TESTS"
> >>> RUNNING DATAFLOW RUNNER VALIDATESRUNNER TESTS
> python setup.py nosetests \
> --attr ValidatesRunner \
> --nocapture \
> --processes=4 \
> --process-timeout=900 \
> --test-pipeline-options=" \
> --runner=TestDataflowRunner \
> --project=$PROJECT \
> --staging_location=$GCS_LOCATION/staging-validatesrunner-test \
> --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
> --sdk_location=$SDK_LOCATION \
> --requirements_file=postcommit_requirements.txt \
> --num_workers=1"
> /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/local/lib/python2.7/site-packages/setuptools/dist.py:341:
> UserWarning: Normalizing '2.2.0.dev' to '2.2.0.dev0'
> normalized_version,
> /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/.eggs/nose-1.3.7-py2.7.egg/nose/plugins/manager.py:395:
> RuntimeWarning: Unable to load plugin beam_test_plugin =
> test_config:BeamTestPlugin: (pyasn1 0.3.3
> (/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/lib/python2.7/site-packages),
> Requirement.parse('pyasn1==0.3.2'), set(['pyasn1-modules']))
> RuntimeWarning)
> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> or: setup.py --help [cmd1 cmd2 ...]
> or: setup.py --help-commands
> or: setup.py cmd --help
> error: option --test-pipeline-options not recognized
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)