Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8083

Importing workspace with "--template"-option fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • buckminster-plugin
    • None
    • Hudson ver. 1.377
      Buckminster Plugin 1.0.4
      Eclipse Helios
      Ubuntu

      I am trying to import a workspace with the --template option, which fails with the error message "Workspace is not empty".
      The template workspace has been newly created with Eclipse Helios.
      See the screenshot for the hudson job. I use a shell command to prove that the designated workspace path is empty.

      Hudson log:

       
      Started by user apdev
      [workspace] $ /bin/sh -xe /tmp/tomcat6-tmp/hudson5996549657015339108.sh
      + ls -lisa /home/apdev/ci/buckminster/test
      ls: cannot access /home/apdev/ci/buckminster/test: No such file or directory
      + true
      [workspace] $ /usr/lib/jvm/jdk1.5.0_22/bin/java -Dbuckminster.output.root=/home/apdev/hudson/jobs/test/workspace/buckminster.output -Dbuckminster.temp.root=/home/apdev/hudson/jobs/test/workspace/buckminster.temp -Xmx768m -jar /home/apdev/ci/buckminster/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -application org.eclipse.buckminster.cmdline.headless -data /home/apdev/ci/buckminster/test --loglevel debug -S /home/apdev/hudson/jobs/test/workspace/commands.txt
      import '--template' '/home/apdev/ci/temp/template_workspace' '/home/apdev/ci/ap_source/ap_trunk/ap_trunk.cquery'
      Doing full workspace refresh
      Waiting for jobs to end
      Workspace at /home/apdev/ci/buckminster/test is not empty
      Finished: FAILURE
      

      After that failure a workspace at /home/apdev/ci/buckminster/test has been created. It is initialised with the proposed template workspace. The cquery was not performed.

      However, if I enter this very import directive in a command shell, the cquery starts after WS-initialisation.

       
      ./buckminster -data /home/apdev/ci/buckminster/test  import --template /home/apdev/ci/temp/template_workspace /home/apdev/ci/ap_source/ap_trunk/ap_trunk.cquery
      

            jutzig jutzig
            thofoer thofoer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: