Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10541

Java License fetcher script is broken on 2.23.0 release branch.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • P0
    • Resolution: Fixed
    • None
    • 2.23.0
    • sdk-java-core

    Description

      Symptom:

      01:13:23  > Task :sdks:java:container:pullLicenses
      01:13:23  Traceback (most recent call last):
      01:13:23    File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Phrase/src/sdks/java/container/license_scripts/pull_licenses_java.py", line 53, in pull_from_url
      01:13:23      url_read = urlopen(url)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
      01:13:23      return opener.open(url, data, timeout)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 472, in open
      01:13:23      response = meth(req, response)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
      01:13:23      'http', request, response, code, msg, hdrs)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 504, in error
      01:13:23      result = self._call_chain(*args)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
      01:13:23      result = func(*args)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 696, in http_error_302
      01:13:23      return self.parent.open(new, timeout=req.timeout)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 472, in open
      01:13:23      response = meth(req, response)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
      01:13:23      'http', request, response, code, msg, hdrs)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 510, in error
      01:13:23      return self._call_chain(*args)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
      01:13:23      result = func(*args)
      01:13:23    File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
      01:13:23      raise HTTPError(req.full_url, code, msg, hdrs, fp)
      01:13:23  urllib.error.HTTPError: HTTP Error 404: Not Found
      01:13:23  ERROR:root:Invalid url for junrar-4.0.0: https://raw.github.com/junrar/junrar/master/license.txt. Retrying...
      01:13:23  
      

      Caused by changes in master repo.

      Attachments

        Issue Links

          Activity

            People

              tvalentyn Valentyn Tymofieiev
              tvalentyn Valentyn Tymofieiev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m