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

Namespace shares the same name between Jenkins Performance test jobs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: testing
    • Labels:
      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

          Activity

            People

            • Assignee:
              kasiak Kasia Kucharczyk
              Reporter:
              kasiak Kasia Kucharczyk

              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

                  Issue deployment