Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-9544

Hang on analyzing stops all further analysis

    Details

    • Story Points:
      1

      Description

      While testing NEXUS-8239, I noticed (#6) that occasionally one of my repos would get "stuck" on "Analyzing...". Also all the healthcheck tasks end up "Blocked" so no further analysis of any type can be done.
      Workaround I've found is if you remove Healthcheck from repos, eventually it'll "unlock" and finish analyzing.

      Alin Dreghiciu attempted a fix based around findings with nuget and asked me to recheck.
      I noticed this again (post-fix) with no nuget involved, just Maven.
      Attached is a support.zip. If there's anything else I can provide please let me know.
      I have not found a reproducable case for this yet but still seems an issue.

      Original #6 text:

      Joe: 6) Twice now, I've been hung at the "Analyzing..." state. I suspect there may be a conflict with having multiple repos analyzed at once. I don't have a repoducable scenario (yet). This may also be an issue with tasks conflicts that Tamas is working on however the quartz entries in the Nexus log shows everything waiting (while the UI shows everything as blocked). Hopefully can run it down.

      Alin: Accidentally I got the same state and looks like it happens when RHC task fails. E.g. I get now an
      "java.lang.IllegalStateException: Missing:

      Unknown macro: {attributes}

      sha1"
      Looking into it

      Alin: I merged a fix related to nuget assets sha1, https://github.com/sonatype/nexus-internal/pull/385, so please retest if you still get stuck in "Analysing..."

        Attachments

          Activity

            People

            Assignee:
            jtom Joe Tom
            Reporter:
            jtom Joe Tom
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title