Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8538

CI pipeline is failing on tests due Cekit/Python issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Can't Do
    • Blocker
    • None
    • None
    • Image
    • None

    Description

      Issue might have been introduced in https://github.com/kiegroup/kogito-images/pull/1407

      Error Message
      
      local variable 'exception_cause' referenced before assignment
      
      Stacktrace
      
      Failing step: Then run sh -c 'ls /home/kogito/.m2/repository/io/quarkus/quarkus-bom  | wc -l' in container and immediately check its output for 1 ... failed in 0.166s
      Location: features/image/kogito-swf-builder.feature:12
      Traceback (most recent call last):
        File "/home/jenkins/virtenvs/cekit/lib/python3.6/site-packages/behave/model.py", line 1329, in run
          match.run(runner.context)
        File "/home/jenkins/virtenvs/cekit/lib/python3.6/site-packages/behave/matchers.py", line 98, in run
          self.func(context, *args, **kwargs)
        File "steps/container_steps.py", line 280, in run_command_immediately_expect_message
          return run_command_expect_message(context, cmd, output_phrase, 0)
        File "steps/container_steps.py", line 337, in run_command_expect_message
          last_output, exception_cause)
      UnboundLocalError: local variable 'exception_cause' referenced before assignment
      
      Standard Output
      
      @scenario.begin
        Scenario: verify if there is no dependencies with multiple versions in /home/kogito/.m2/repository
          When container is started with command bash ... passed in 11.897s
          Then run sh -c 'ls /home/kogito/.m2/repository/io/quarkus/quarkus-bom  | wc -l' in container and immediately check its output for 1 ... failed in 0.166s
      
      @scenario.end
      --------------------------------------------------------------------------------
      

      Attachments

        Activity

          People

            tradisso@redhat.com Tristan Radisson
            tradisso@redhat.com Tristan Radisson
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: