openSUSE / openSUSE-release-tools

Tools to aid in staging and release work for openSUSE/SUSE
GNU General Public License v2.0
57 stars 90 forks source link

gocd: Restore SLFO pipelines. #3105

Closed gleidi-suse closed 3 weeks ago

gleidi-suse commented 3 weeks ago

Since https://github.com/openSUSE/openSUSE-release-tools/pull/3091 has been merged we can switch SLFO pipelines back to master

DimStar77 commented 2 weeks ago

Not sure if this explicitly - but botmaster was running 4 SLFO pipelines since Friday that were running in endless loops until I cancelled them this morning

e.g. https://botmaster.suse.de/go/pipeline/activity/SUSE.SLFO.Main.Staging.E https://botmaster.suse.de/go/tab/build/detail/SUSE.SLFO.Main.Staging.E/8/Build.product/1/Build.product

Traceback (most recent call last):
  File "/godata/pipelines/SUSE.SLFO.Main.Staging.G/./scripts/gocd/verify-repo-built-successful.py", line 49, in <module>
    root = ET.parse(http_GET(url)).getroot()
                    ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/osc/connection.py", line 396, in http_GET
    return http_request("GET", *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/osc/connection.py", line 149, in new_func
    return func(method, url, headers, data, file)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/osc/connection.py", line 386, in http_request
    raise urllib.error.HTTPError(url, response.status, response.reason, response.headers, response)
urllib.error.HTTPError: HTTP Error 404: unknown repository 'product'
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.suse.de:443
DEBUG:urllib3.connectionpool:https://api.suse.de:None "GET /source/SUSE:SLFO:Main:Staging:G/_meta HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://api.suse.de:None "GET /build/SUSE:SLFO:Main:Staging:G/_result?view=summary&repository=product HTTP/1.1" 404 134
Traceback (most recent call last):
  File "/godata/pipelines/SUSE.SLFO.Main.Staging.G/./scripts/gocd/verify-repo-built-successful.py", line 49, in <module>
    root = ET.parse(http_GET(url)).getroot()
                    ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/osc/connection.py", line 396, in http_GET
    return http_request("GET", *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/osc/connection.py", line 149, in new_func
    return func(method, url, headers, data, file)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/osc/connection.py", line 386, in http_request
    raise urllib.error.HTTPError(url, response.status, response.reason, response.headers, response)
urllib.error.HTTPError: HTTP Error 404: unknown repository 'product'
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.suse.de:443
DEBUG:urllib3.connectionpool:https://api.suse.de:None "GET /source/SUSE:SLFO:Main:Staging:G/_meta HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://api.suse.de:None "GET /build/SUSE:SLFO:Main:Staging:G/_result?view=summary&repository=product HTTP/1.1" 404 134
Traceback (most recent call last):
  File "/godata/pipelines/SUSE.SLFO.Main.Staging.G/./scripts/gocd/verify-repo-built-successful.py", line 49, in <module>
    root = ET.parse(http_GET(url)).getroot()
                    ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/osc/connection.py", line 396, in http_GET
    return http_request("GET", *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/osc/connection.py", line 149, in new_func
    return func(method, url, headers, data, file)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/osc/connection.py", line 386, in http_request
    raise urllib.error.HTTPError(url, response.status, response.reason, response.headers, response)
urllib.error.HTTPError: HTTP Error 404: unknown repository 'product'