Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-4371

Namespace shares the same name between Jenkins Performance test jobs

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.5.0
    • testing
    • None

    Description

      In common_job_properties.groovy is defined getKubernetesNamespace(def testName) which runs only after seed job.

      Expected behaviour is to create a new namespace with every test run.

      The failure was observed after retrying JdbcIOIT job. The first failure did not deleted namespace. Next jobs failed because of:

      + kubectl --kubeconfig=/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_JDBC/config-jdbcioit-1526904136153 create namespace jdbcioit-1526904136153 Error from server (AlreadyExists): namespaces "jdbcioit-1526904136153" already exists
      

      Here are examples of jobs on Jenkins:
      https://builds.apache.org/view/A-D/view/Beam/job/beam_PerformanceTests_JDBC/601/console
      and
      https://builds.apache.org/view/A-D/view/Beam/job/beam_PerformanceTests_JDBC/602/console

       

      Attachments

        Issue Links

          Activity

            People

              kasiak Kasia Kucharczyk
              kasiak Kasia Kucharczyk
              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 - 0h
                  0h
                  Logged:
                  Time Spent - 10h 20m
                  10h 20m