Details

    Description

      We cannot run two experiments with the same name. Take experimentIT.java as an example, the frontend E2E testcase will create an experiment named "experiment-e2e-test". If we run this testcase twice, the workbench just shows an "experiment-e2e-test" rather than two.

      The root cause is that the K8sSubmitter will create two PODs for an "experiment-e2e-test". The names of these two PODs are "experiment-e2e-test-ps-0" and "experiment-e2e-test-worker-0". Hence, when we try to create the second "experiment-e2e-test", K8sSubmitter will throw an exception due to duplicate POD names.

       

      To reproduce the bug:

       

      // Step1: Run workbench on port 8080
      // Step2: 
      cd submarine-cloud-v2
      
      // Step3: Create "experiment-e2e-test" twice
      ./hack/run_frontend_e2e.sh experimentIT
      ./hack/run_frontend_e2e.sh experimentIT
      
      // Step4: Check Workbench: only an "experiment-e2e-test" exists => BUG!
      

      Attachments

        Issue Links

          Activity

            People

              khchen Kai-Hsun Chen
              khchen Kai-Hsun Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: