Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-7412

gomod dependencies failures in 4.13-4.14 container builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 4.13
    • Build
    • None
    • Critical
    • None
    • Build + Jenkins Sprint 231
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Bug Fix
    • Done

      Persistent build failures have been detected for following components:

      • openshift-enterprise-builder-container
      [2023-02-13 16:07:03,317 cachito.workers.tasks.utils DEBUG utils.get_request_state] Getting the state of request 639952 [2023-02-13 16:07:03,461 cachito.workers.tasks.general INFO general.fetch_app_source] Fetching the source from "https://github.com/openshift-priv/builder" at reference "9caad619934afe7d04f14e68b3d2cb55b205bf6d" [2023-02-13 16:07:03,462 cachito.workers.tasks.utils INFO utils.set_request_state] Setting the state of request 639952 to "in_progress" with the reason "Fetching the application source" [2023-02-13 16:07:03,618 cachito.workers.scm DEBUG scm.repo_name] Parsed the repository name "openshift-priv/builder" from https://github.com/openshift-priv/builder [2023-02-13 16:07:03,618 cachito.workers.paths DEBUG paths.__new__] Ensure directory /var/lib/cachito/sources/openshift-priv/builder exists. [2023-02-13 16:07:03,621 cachito.workers.scm DEBUG scm.fetch_source] The archive already exists at "/var/lib/cachito/sources/openshift-priv/builder/9caad619934afe7d04f14e68b3d2cb55b205bf6d.tar.gz" [2023-02-13 16:07:03,621 cachito.workers.scm DEBUG scm._verify_archive] Verifying the archive at /var/lib/cachito/sources/openshift-priv/builder/9caad619934afe7d04f14e68b3d2cb55b205bf6d.tar.gz [2023-02-13 16:07:19,356 cachito.workers.paths DEBUG paths.__new__] Ensure directory /var/lib/cachito/bundles/temp/639952 exists. [2023-02-13 16:07:19,357 
      cachito.workers.paths DEBUG paths._new] Ensure directory /var/lib/cachito/bundles/temp/639952/deps exists. [2023-02-13 16:07:19,358 cachito.workers.tasks.general DEBUG general.fetch_app_source] Extracting /var/lib/cachito/sources/openshift-priv/builder/9caad619934afe7d04f14e68b3d2cb55b205bf6d.tar.gz to /var/lib/cachito/bundles/temp/639952 [2023-02-13 16:07:37,696 celery.app.trace INFO trace.info] Task cachito.workers.tasks.general.fetch_app_source[3c6d1b1c-cadf-4722-842b-ac0dd1929f26] succeeded in 34.38259743398521s: None [2023-02-13 16:07:37,700 cachito.workers.tasks.utils DEBUG utils.get_request_state] Getting the state of request 639952 [2023-02-13 16:07:37,843 cachito.workers.tasks.gomod INFO gomod.fetch_gomod_source] Go version: go version go1.18.10 linux/amd64 [2023-02-13 16:07:37,844 cachito.workers.paths DEBUG paths.__new__] Ensure directory /var/lib/cachito/bundles/temp/639952 exists. [2023-02-13 16:07:37,844 cachito.workers.paths DEBUG paths.__new__] Ensure directory /var/lib/cachito/bundles/temp/639952/deps exists. [2023-02-13 16:07:37,846 cachito.workers.tasks.gomod DEBUG gomod._find_missing_gomod_files] Testing for go mod file in go.mod [2023-02-13 16:07:38,055 cachito.workers.tasks.gomod INFO gomod.fetch_gomod_source] Fetching the gomod dependencies for request 639952 in subpath . [2023-02-13 16:07:38,055 cachito.workers.tasks.utils INFO utils.set_request_state] Setting the state of request 639952 to "in_progress" with the reason "Fetching the gomod dependencies at the "." directory" [2023-02-13 16:07:38,184 cachito.workers.tasks.utils DEBUG utils.get_request] Getting request 639952 [2023-02-13 16:07:38,277 cachito.workers.pkg_managers.gomod INFO gomod.resolve_gomod] Downloading the gomod dependencies [2023-02-13 16:07:38,277 cachito.workers.pkg_managers.gomod DEBUG gomod.run_go] Running ('go', 'mod', 'download') [2023-02-13 16:08:21,502 cachito.workers ERROR __init__.run_cmd] The command "go list -mod readonly -m -f {{ if not .Main }}{{ .String }}{{ end }} all" failed with: go: k8s.io/dynamic-resource-allocation@v0.0.0: reading https://cachito-athens.cachito-prod.svc/k8s.io/dynamic-resource-allocation/@v/v0.0.0.info: 404 Not Found [2023-02-13 16:08:23,586 cachito.workers.tasks.utils INFO utils.set_request_state] Setting the state of request 639952 to "failed" with the reason "Processing gomod dependencies failed" [2023-02-13 16:08:29,021 celery.app.trace ERROR trace._log_error] Task cachito.workers.tasks.gomod.fetch_gomod_source[e1183761-a3ac-4473-b4a8-7a7ba8e7e466] raised unexpected: CachitoError('Processing gomod dependencies failed') Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/celery/app/trace.py", line 451, in trace_task R = retval = fun(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/celery/app/trace.py", line 734, in __protected_call_ return self.run(*args, **kwargs) File "/src/cachito/workers/tasks/utils.py", line 145, in task_with_state_check return task_fn(*args, **kwargs) File "/src/cachito/workers/tasks/gomod.py", line 187, in fetch_gomod_source gomod = resolve_gomod( File "/src/cachito/workers/pkg_managers/gomod.py", line 221, in resolve_gomod go_list_output = run_gomod_cmd( File "/src/cachito/workers/_init_.py", line 43, in run_cmd raise CachitoCalledProcessError( cachito.errors.CachitoError: Processing gomod dependencies failed

      They all seem related to the same issue with go dependencies:

      atomic_reactor.utils.cachito - ERROR - Request <x> is in "failed" state: Processing gomod dependencies failed 

            cdaley Corey Daley
            dpaolell@redhat.com Daniele Paolella
            Jitendar Singh Jitendar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: