Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3470

Disable Kaniko Cache Config for Napps Builders

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Jenkins X
    • Environment:
      Docker
      Kaniko
      Kubernetes

      Description

      Using Kaniko cache seems to block the build.
      and will end after the timeout occurs.

      https://github.com/nuxeo/jx-napps-builders/blob/master/builder-base/skaffold.yaml#L27

       

       

       

      [2021-01-21T11:34:39.054Z] INFO[1986] Taking snapshot of full filesystem...        
      
      [2021-01-21T11:47:01.264Z] INFO[2733] Pushing layer 10.63.243.100:5000/{{.ORG}}/{{.IMAGE_NAME}}/cache:ecd6da3e8b3c1574d8f028f29244d278e1f530d19e09c66d65f230800109b679 to cache now 
      
      [2021-01-21T11:47:01.264Z] INFO[2734] CMD ["tail", "-f", "/dev/null"]              
      
      [2021-01-21T11:47:01.264Z] INFO[2734] No files changed in this command, skipping snapshotting. 
      
      [2021-01-21T11:47:01.264Z] WARN[2734] error uploading layer to cache: getting tag for destination: repository can only contain the runes `abcdefghijklmnopqrstuvwxyz0123456789_-./`: {{.ORG}}/{{.IMAGE_NAME}}/cache 
      
      [2021-01-21T11:47:01.264Z] ERROR: logging before flag.Parse: E0121 11:46:57.577455       1 metadata.go:142] while reading 'google-dockercfg' metadata: http status code: 404 while fetching url http://metadata.google.internal./computeMetadata/v1/instance/attributes/google-dockercfg
      
      [2021-01-21T11:47:01.264Z] ERROR: logging before flag.Parse: E0121 11:46:57.590239       1 metadata.go:159] while reading 'google-dockercfg-url' metadata: http status code: 404 while fetching url http://metadata.google.internal./computeMetadata/v1/instance/attributes/google-dockercfg-url
      
      [2021-01-21T11:47:01.264Z] time="2021-01-21T11:46:58Z" level=fatal msg="build failed: build failed: building [builder-base]: kaniko build for [builder-base]: waiting for pod to complete: context closed while waiting for condition"
      
      script returned exit code 1
      
      Set GitHub commit status (universal)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  PagerDuty