Skip to content

Error: Error running process: exit status 128 #25

Closed

Description

@estahn

I've tried with command: lint and command: ct lint but it returns the same error message. When downloading the container quay.io/helmpack/chart-testing:v3.0.0-beta.2 and running that locally it works fine.

2020-03-24T04:07:43.8989222Z ##[group]Run helm/chart-testing-action@v1.0.0-rc.1
2020-03-24T04:07:43.8989363Z with:
2020-03-24T04:07:43.8989638Z   command: ct lint
2020-03-24T04:07:43.8989740Z ##[endgroup]
2020-03-24T04:07:44.8614936Z Unable to find image 'quay.io/helmpack/chart-testing:v3.0.0-beta.2' locally
2020-03-24T04:07:44.8615427Z v3.0.0-beta.2: Pulling from helmpack/chart-testing
2020-03-24T04:07:44.8615555Z 4167d3e14976: Already exists
2020-03-24T04:07:44.8615682Z 1ef3c023a7f3: Pulling fs layer
2020-03-24T04:07:44.8615802Z aa9784039bf9: Pulling fs layer
2020-03-24T04:07:44.8615975Z 9fb091bb96bc: Pulling fs layer
2020-03-24T04:07:44.8616094Z 92dd9035358e: Pulling fs layer
2020-03-24T04:07:44.8616211Z b510c65bb643: Pulling fs layer
2020-03-24T04:07:44.8616329Z e38e83ea3725: Pulling fs layer
2020-03-24T04:07:44.8616446Z e28434c59fed: Pulling fs layer
2020-03-24T04:07:44.8616562Z 669220e465b9: Pulling fs layer
2020-03-24T04:07:44.8616681Z 92dd9035358e: Waiting
2020-03-24T04:07:44.8616820Z b510c65bb643: Waiting
2020-03-24T04:07:44.8616942Z e38e83ea3725: Waiting
2020-03-24T04:07:44.8617215Z e28434c59fed: Waiting
2020-03-24T04:07:44.8617325Z 669220e465b9: Waiting
2020-03-24T04:07:44.8617424Z Running ct container...
2020-03-24T04:07:44.9761611Z 9fb091bb96bc: Verifying Checksum
2020-03-24T04:07:44.9790200Z 9fb091bb96bc: Download complete
2020-03-24T04:07:45.0106708Z aa9784039bf9: Download complete
2020-03-24T04:07:45.2347267Z 92dd9035358e: Verifying Checksum
2020-03-24T04:07:45.2347604Z 92dd9035358e: Download complete
2020-03-24T04:07:45.5748744Z b510c65bb643: Verifying Checksum
2020-03-24T04:07:45.5749420Z b510c65bb643: Download complete
2020-03-24T04:07:45.6627402Z e28434c59fed: Verifying Checksum
2020-03-24T04:07:45.6627884Z e28434c59fed: Download complete
2020-03-24T04:07:46.0014892Z 669220e465b9: Verifying Checksum
2020-03-24T04:07:46.5213361Z 669220e465b9: Download complete
2020-03-24T04:07:46.5213566Z 1ef3c023a7f3: Verifying Checksum
2020-03-24T04:07:46.5213676Z 1ef3c023a7f3: Download complete
2020-03-24T04:07:46.5485427Z e38e83ea3725: Verifying Checksum
2020-03-24T04:07:46.5485748Z e38e83ea3725: Download complete
2020-03-24T04:07:47.5370394Z 1ef3c023a7f3: Pull complete
2020-03-24T04:07:47.6070731Z aa9784039bf9: Pull complete
2020-03-24T04:07:47.6772049Z 9fb091bb96bc: Pull complete
2020-03-24T04:07:48.1416652Z 92dd9035358e: Pull complete
2020-03-24T04:07:48.4836225Z b510c65bb643: Pull complete
2020-03-24T04:07:48.5206614Z e38e83ea3725: Pull complete
2020-03-24T04:07:48.5549347Z e28434c59fed: Pull complete
2020-03-24T04:07:48.6950898Z 669220e465b9: Pull complete
2020-03-24T04:07:48.6999781Z Digest: sha256:332de299264f509cd44b8707a9805baa98dcaf7289ba63a846c91345d06fbb4d
2020-03-24T04:07:48.7033479Z Status: Downloaded newer image for quay.io/helmpack/chart-testing:v3.0.0-beta.2
2020-03-24T04:07:51.2919570Z 6e0d06200face22ef3251c0da6e15285463cbc4b426ad492d18883422c6428e6
2020-03-24T04:07:51.5665945Z 
2020-03-24T04:07:51.7676671Z Error: Error running process: exit status 128
2020-03-24T04:07:51.7685013Z Usage:
2020-03-24T04:07:51.7686084Z   ct list-changed [flags]
2020-03-24T04:07:51.7686315Z 
2020-03-24T04:07:51.7686748Z Aliases:
2020-03-24T04:07:51.7687089Z   list-changed, ls-changed, lsc
2020-03-24T04:07:51.7687190Z 
2020-03-24T04:07:51.7687262Z Flags:
2020-03-24T04:07:51.7687542Z       --chart-dirs strings        Directories containing Helm charts. May be specified multiple times
2020-03-24T04:07:51.7687665Z                                   or separate values with commas (default [charts])
2020-03-24T04:07:51.7688067Z       --config string             Config file
2020-03-24T04:07:51.7688523Z       --excluded-charts strings   Charts that should be skipped. May be specified multiple times
2020-03-24T04:07:51.7689001Z                                   or separate values with commas
2020-03-24T04:07:51.7689250Z   -h, --help                      help for list-changed
2020-03-24T04:07:51.7689903Z       --remote string             The name of the Git remote used to identify changed charts (default "origin")
2020-03-24T04:07:51.7690491Z       --target-branch string      The name of the target branch used to identify changed charts (default "master")
2020-03-24T04:07:51.7690590Z 
2020-03-24T04:07:51.7944480Z Removing ct container...
2020-03-24T04:07:51.9874686Z Done!

Activity

  1. pmatv commented on Mar 24, 2020

    @pmatv

    having same issue

  2. emmekappa commented on Mar 31, 2020

    @emmekappa

    same here

  3. saikatharryc commented on Apr 17, 2020

    @saikatharryc

    For me, it was just that, I was not using my base branch as a master. once I started using master it solved my problem.
    in ct.yaml you also can set the target branch, in case you want to use something other than master.

  4. rgreinho commented on May 15, 2020

    @rgreinho

    Having the same issue as well. I tried with v1.0.0-rc.1 and v1.0.0-rc.2.

  5. leokra commented on May 27, 2020

    @leokra

    I was not executing the following step (contrary to what is mentioned in the example):

     - name: Fetch history
            run: git fetch --prune --unshallow
    

    Maybe this helps somebody...

  6. jenting commented on Jul 24, 2020

    @jenting

    Same here. With version v1.0.0-rc.2

    Digest: sha256:55fb51929186d4dc8b0821569151a39283918785447628fb2e28f87d9b2937d2
    Status: Downloaded newer image for quay.io/helmpack/chart-testing:v3.0.0-rc.1
    2f7a7c753d20e95abaa1a207ababf0a113dc32a03a610c2bb8fa349640daeaca
    
    Error: Error running process: exit status 128
    Removing ct container...
    Done!
    
  7. twexler commented on Aug 5, 2020

    @twexler

    I've also got this issue on v.1.0.0 and have the step in @leokra's comment above. Here's the run

  8. adamrushuk commented on Sep 6, 2020

    @adamrushuk

    my default branch was main, so I had to add target-branch: main to my ct.yaml config

  9. added a commit that references this issue on Feb 15, 2021
  10. highb commented on Apr 29, 2021

    @highb

    I was not executing the following step (contrary to what is mentioned in the example):

     - name: Fetch history
            run: git fetch --prune --unshallow
    

    Maybe this helps somebody...

    Thanks for this @leokra ! I accomplished the same thing by adding the fetch-depth: 0 parameter to the checkout action, like so:

        steps:
          - uses: actions/checkout@v2
            with:
              # ct needs history to compare
              fetch-depth: 0
    
  11. pratikbin commented on Jun 11, 2021

    @pratikbin

    Solved in concourse ci by adding git fetch --all before ct step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions