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

Debian upgrade failure with symbolic links in workspace

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • other
    • None
    • Debian testing
      donkey:~# dpkg -l hudson
      ii hudson 1.349 Continuous integration system written in Java

    Description

      I just performed an aptitude upgrade. This failed during the Setup stage of Hudson:

      Setting up hudson (1.349) ...
      chown: cannot dereference `/var/lib/hudson/workspace/trunk/ref-web-gui/RefGui/js/dijit': No such file or directory
      chown: cannot dereference `/var/lib/hudson/workspace/trunk/ref-web-gui/RefGui/js/dojo': No such file or directory
      chown: cannot dereference `/var/lib/hudson/workspace/trunk/ref-web-gui/RefGui/js/dojox': No such file or directory
      chown: cannot dereference `/var/lib/hudson/workspace/trunk/ref-web-gui/DojoDemo/dojodemo/public/dojo': No such file or directory
      dpkg: error processing hudson (--configure):
      subprocess installed post-installation script returned error exit status 1
      Errors were encountered while processing:
      hudson
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      A package failed to install. Trying to recover:
      Setting up hudson (1.349) ...
      chown: cannot dereference `/var/lib/hudson/workspace/trunk/ref-web-gui/RefGui/js/dijit': No such file or directory
      chown: cannot dereference `/var/lib/hudson/workspace/trunk/ref-web-gui/RefGui/js/dojo': No such file or directory
      chown: cannot dereference `/var/lib/hudson/workspace/trunk/ref-web-gui/RefGui/js/dojox': No such file or directory
      chown: cannot dereference `/var/lib/hudson/workspace/trunk/ref-web-gui/DojoDemo/dojodemo/public/dojo': No such file or directory
      dpkg: error processing hudson (--configure):
      subprocess installed post-installation script returned error exit status 1
      Errors were encountered while processing:
      hudson

      the files which are causing problems are symbolic links which point to none existent files. Since this is inside a workspace, you can expect wired and wonderful things, like broken symbolic links. So i would not expect this to cause a failure during the package upgrade.

      Attachments

        Issue Links

          Activity

            lunn lunn created issue -
            kohsuke Kohsuke Kawaguchi made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-4047 [ JENKINS-4047 ]

            Fixed toward 1.397.

            kohsuke Kohsuke Kawaguchi added a comment - Fixed toward 1.397.
            kohsuke Kohsuke Kawaguchi made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 136000 ] JNJira + In-Review [ 187089 ]

            People

              Unassigned Unassigned
              lunn lunn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: