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

CLI: Failing upstream test TestEventListenerE2E

XMLWordPrintable

    • 3
    • False
    • None
    • False
    • Tests were failing because the upstream tests were depending upon an undefined behavior. So failure was correct. I fixed the tests.
    • Pipelines Sprint 232, Pipelines Sprint 233, Pipelines Sprint 234

      Description of problem:

      Upstream tests TestEventListenerE2E is failing with tkn 1.9, tkn 1.8 and opc 1.9

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

      Steps to Reproduce

      1. clone branch release-v0.28.0 of https://github.com/tektoncd/cli/tree/release-v0.28.0
      2. go test -v -count=1 -tags=e2e -timeout=10m ./test/e2e/... -run ^TestEventListenerE2E$

      Actual results:

      === RUN   TestEventListenerE2E/Assert_if_EventListener_AVAILABLE_status_is_true
      === RUN   TestEventListenerE2E/Get_logs_of_EventListener
          eventListener_test.go:71: assertion failed: 
              Actual output: 
              
              Missing strings: github-listener-interceptor-el-github-listener-interceptor-, el-github-listener-interceptor-76c48b8c9d-tsm6s
      

      Expected results:

      ouput is not empty

      Reproducibility (Always/Intermittent/Only Once):

      Always, even when trying the same command manually in a namespace where automated test ran previously

      $ opc eventlistener logs github-listener-interceptor -t -1
      
      
      
      $ tkn eventlistener logs github-listener-interceptor -t -1
      
      
      
      $ opc version
      OpenShift Pipelines Client: 1.9.1
      Tekton CLI: 0.28.0
      Pipelines as Code CLI: 0.15.5
      $ tkn version
      Client version: 0.28.0
      Pipeline version: v0.41.1
      Triggers version: v0.22.1
      Operator version: v0.63.0
      

      Build Details:

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

            rh-ee-kbaig Khurram Baig
            ppitonak Pavol Pitoňák
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: