• Publishing Support
    • Resolution: Fixed
    • Major
    • null
    • oss.sonatype.org
    • No


      Hi, today I'm experiencing failures to my releases on timeout.

      All artifacts, including javadoc, sources and signatures are uploaded, and then follwing error occurs:

      [INFO] [INFO] * Upload of locally staged artifacts finished.
      [INFO] [INFO] * Closing staging repository with ID "foundationfluent-1008".
      [INFO] Waiting for operation to complete...
      [INFO] ......................
      [INFO] [WARNING] TIMEOUT after 307,9 s
      [INFO] [ERROR] Rule failure while trying to close staging repository with ID "foundationfluent-1008".
      [INFO] [ERROR] 
      [INFO] [ERROR] Nexus Staging Rules Failure Report
      [INFO] [ERROR] ==================================
      [INFO] [ERROR] 
      [INFO] [ERROR] 
      [INFO] [ERROR] Cleaning up local stage directory after a Rule failure during close of staging repositories: []
      [INFO] [ERROR] * Deleting context 4bf4dc9f650926.properties
      [INFO] [ERROR] Cleaning up remote stage repositories after a Rule failure during close of staging repositories: []
      [INFO] [ERROR] * Not dropping failed staging repository with ID "foundationfluent-1008" (Rule failure during close of staging repositories: []).
      [INFO] [ERROR] Remote staging finished with a failure: Staging rules failure!
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] Total time: 09:38 min
      [INFO] [INFO] Finished at: 2018-06-12T18:32:19+02:00
      [INFO] [INFO] Final Memory: 39M/336M

      After couple of attempts I disabled auto release to central, ut it didn't help.
      Thanks to keeping the staging on close rule failure, I have preserved it:


      Thanks to that I see, that actually everything is fine, and finishes, but after longer time, than the timeout used by the maven plugin. See start and end messages:
      Event: Evaluating rules: Central Sync Requirement
      Tuesday, June 12, 2018 18:27:32 CEST (GMT+0200)
      Event: Repository closed
      Tuesday, June 12, 2018 18:35:46 CEST (GMT+0200)
      See the elapsed time to be 8min, 14sec. Timeout is around 5mins.
      I havent experienced this in any of the previous releases, and my project is really not big (and not any bigger from previous releases).
      It also seems, that keeping the staging repository let's it finish properly, and I'm also able to trigger the release to maven central. So the issue is not actually blocking (so not a blocker), because a workaround exists.




            jorlina Joel Orlina
            c0stra Ondrej Fischer
            0 Vote for this issue
            2 Start watching this issue