You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/09/12 17:08:01 UTC
[jira] [Commented] (BEAM-10381)
./sdks/java/container/license_scripts/license_script.sh failing in python
PR
[ https://issues.apache.org/jira/browse/BEAM-10381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194790#comment-17194790 ]
Beam JIRA Bot commented on BEAM-10381:
--------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14 days. It is now automatically moved to P3. If you are still affected by it, you can comment and move it back to P2.
> ./sdks/java/container/license_scripts/license_script.sh failing in python PR
> ----------------------------------------------------------------------------
>
> Key: BEAM-10381
> URL: https://issues.apache.org/jira/browse/BEAM-10381
> Project: Beam
> Issue Type: Test
> Components: test-failures
> Reporter: Alex Amato
> Priority: P3
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> This seems odd as this PR doesn't modify any java code or deps. Is this just broken at master?
> PR [https://github.com/apache/beam/pull/12084]
> Fails the *Python2_PVR_Flink ("Run Python2_PVR_Flink PreCommit")*
> [https://scans.gradle.com/s/rqx6h5cqyvvfo]
> I added some logging locally to determine the URL it fails to pull from:
> INFO:root:Pulling from url: https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-mapreduce-client-jobclient/2.8.5/hadoop-mapreduce-client-jobclient-2.8.5.jar
> Traceback (most recent call last):
> File "/usr/local/google/home/ajamato/beam/sdks/java/container/license_scripts/pull_licenses_java.py", line 250, in <module>
> pool.map(execute, dependencies['dependencies'])
> File "/usr/lib/python3.7/multiprocessing/pool.py", line 268, in map
> return self._map_async(func, iterable, mapstar, chunksize).get()
> File "/usr/lib/python3.7/multiprocessing/pool.py", line 657, in get
> raise self._value
> File "/usr/lib/python3.7/multiprocessing/pool.py", line 121, in worker
> result = (True, func(*args, **kwds))
> File "/usr/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
> return list(map(*args))
> File "/usr/local/google/home/ajamato/beam/sdks/java/container/license_scripts/pull_licenses_java.py", line 203, in execute
> pull_source_code(base_url, dir_name, name_version)
> File "/usr/local/google/home/ajamato/beam/sdks/java/container/license_scripts/pull_licenses_java.py", line 105, in pull_source_code
> soup = BeautifulSoup(urlopen(base_url).read(), "html.parser")
> File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
> File "/usr/lib/python3.7/urllib/request.py", line 531, in open
> response = meth(req, response)
> File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
> 'http', request, response, code, msg, hdrs)
> File "/usr/lib/python3.7/urllib/request.py", line 569, in error
> return self._call_chain(*args)
> File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
> File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
> raise HTTPError(req.full_url, code, msg, hdrs, fp)
> urllib.error.HTTPError: HTTP Error 404: Not Found
--
This message was sent by Atlassian Jira
(v8.3.4#803005)