Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-3198

tkn p start --timeout command is failing to start the pipeline

XMLWordPrintable

    • 0
    • False
    • None
    • False
    • This will sets --timeout flag value in the pipelinerun
    • Pipelines Sprint 239, Pipelines Sprint 240

      Description of problem:

      Workaround

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Create s pipeline

      2. Start the pipeline with --timeout flag 

       

      Actual results:

      tkn p start wait-pipeline --timeout 10m                                                             
      Flag --timeout has been deprecated, please use --pipeline-timeout flag instead
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x29cae7f]

      goroutine 1 [running]:
      github.com/tektoncd/cli/pkg/cmd/pipeline.(*startOptions).startPipeline(0xc000790000, 0xc000e1c8c0)
        /builddir/build/BUILD/tektoncd-cli-7af15e95cd38c3f3af5783695360bd882ff89ac5/pkg/cmd/pipeline/start.go:298 +0x6ff
      github.com/tektoncd/cli/pkg/cmd/pipeline.(*startOptions).run(0xc000d94750?, 0x1?)
        /builddir/build/BUILD/tektoncd-cli-7af15e95cd38c3f3af5783695360bd882ff89ac5/pkg/cmd/pipeline/start.go:220 +0x45
      github.com/tektoncd/cli/pkg/cmd/pipeline.startCommand.func3(0xc000562f00?, {0xc000d94750, 0x1, 0x3})
        /builddir/build/BUILD/tektoncd-cli-7af15e95cd38c3f3af5783695360bd882ff89ac5/pkg/cmd/pipeline/start.go:170 +0x16b
      github.com/spf13/cobra.(*Command).execute(0xc000562f00, {0xc000d946f0, 0x3, 0x3})
        /builddir/build/BUILD/tektoncd-cli-7af15e95cd38c3f3af5783695360bd882ff89ac5/vendor/github.com/spf13/cobra/command.go:940 +0x862
      github.com/spf13/cobra.(*Command).ExecuteC(0xc000d1e300)
        /builddir/build/BUILD/tektoncd-cli-7af15e95cd38c3f3af5783695360bd882ff89ac5/vendor/github.com/spf13/cobra/command.go:1068 +0x3bd
      github.com/spf13/cobra.(*Command).Execute(...)
        /builddir/build/BUILD/tektoncd-cli-7af15e95cd38c3f3af5783695360bd882ff89ac5/vendor/github.com/spf13/cobra/command.go:992
      main.main()
        /builddir/build/BUILD/tektoncd-cli-7af15e95cd38c3f3af5783695360bd882ff89ac5/cmd/tkn/main.go:50 +0x2a5

      Expected results:

      • Should start pipeline to run ** 

        Reproducibility (Always/Intermittent/Only Once):

        Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

            shverma Shiv Verma
            shverma Shiv Verma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: