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

Cannot install Java on DO agents any longer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • digitalocean-plugin
    • None
    • Jenkins 2.164.2
      Digital Ocean plugin 1.0

      Hi,

      For quite some time already, the creation of Digital Ocean agents has become quite brittle and barely usable.

      I'm using the "Ubuntu Docker 18.09.2~3 on 18.04" image as a base, and the installation of the Java JVM for bootstrapping the agent fails (almost all the time, but not always) with:

      WARNING: Installing java failed.
      java.lang.Exception: Installing java failed.
      	at com.dubture.jenkins.digitalocean.DigitalOceanComputerLauncher.launch(DigitalOceanComputerLauncher.java:184)
      

      In the agent log, one of the last messages we see is:

      E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
      E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
      

      Any idea what could be causing this?

      Thanks for any feedback,
      Damien

            Unassigned Unassigned
            damien_coraboeuf Damien Coraboeuf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: