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

Exceptions thrown during first startup (core-pr-tester)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • None

      (Almost?) Every time I start Jenkins through the core-pr-tester, I get this error:

      2022-08-19 09:43:52.807+0000 [id=53]    INFO    hudson.util.Retrier#start: The attempt #1 to do the action check updates server failed with an allowed exception:
      java.nio.file.FileAlreadyExistsException: /root/.jenkins/updates
          at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:94)
          at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
          at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
          at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:389)
          at java.base/java.nio.file.Files.createDirectory(Files.java:690)
          at hudson.Util.createDirectories(Util.java:1789)
          at hudson.util.TextFile.write(TextFile.java:100)
          at hudson.model.UpdateSite.updateData(UpdateSite.java:248)
          at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:219)
          at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:214)
          at hudson.PluginManager.checkUpdatesServer(PluginManager.java:1987)
          at hudson.util.Retrier.start(Retrier.java:62)
          at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1958)
          at jenkins.DailyCheck.execute(DailyCheck.java:93)
          at hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:102)
          at java.base/java.lang.Thread.run(Thread.java:829)
      

      The plugin manager shows plugins afterwards though, so real impact is minimal, just a message on the UI (attached).

      There's nothing special I can find in https://github.com/jenkinsci/core-pr-tester/blob/master/checkout-and-start.sh so filing this as a core bug.

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: