141 views

Description

In the finalizing stage, the upgrade monitor waits for the upgrade to be summarized. However, the priority of the upgrade summary job is relatively low and there are other jobs with the same or higher priority that are scheduled before or during the upgrade. This means that the upgrade summary job is scheduled to run very late and the upgrade monitor is stuck in the 'finalizing' stage for a long time.

Steps to Reproduce

  1. Create many scheduled jobs (sys_trigger) with:
    • scripts that run for a few seconds (for example, with script 'gs.sleep(2000);')
    • priority < 100 (lower number means higher priority)
  2. Schedule the jobs to run at approximately the same time you intend to run an upgrade (in the next step).
  3. Run an upgrade.
  4. During the upgrade, navigate to the sys_trigger table to ensure that:
    • the created scheduled jobs have not been run
    • there are upgrade summary jobs - one for summarizing rollback and one for upgrade (both have the name 'ASYNC: Script Job,' with the script starting with "var logger = new UpgradeLog();", and containing the sys_id from sys_upgrade_history)
  5. Go to the Upgrade Monitor page and wait until the upgrade is complete.
    Note that the Upgrade Monitor is stuck on the 'finalizing' page for a long time. The amount of time depends on how many scheduled jobs you created in step 1. A larger number of jobs causes a longer delay before the upgrade summary is displayed.

Workaround

Contact ServiceNow Customer Support to obtain the workaround for this issue.

 


Related Problem: PRB689628

Seen In

Fuji Patch 10
Geneva Patch 5
Helsinki Patch 0 Hot Fix 1
Helsinki Patch 2
Helsinki Patch 3

Fixed In

Geneva Patch 11
Helsinki Patch 9
Istanbul

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-03-15 15:41:34
Published:2017-09-19