AnsweredAssumed Answered

Error during 14.2 Upgrade

Question asked by Genentech_Srini on Jan 13, 2016
Latest reply on Feb 1, 2016 by Nika_Hadzhikidi

We successfully upgraded from 13.0 to 14.2 in Dev environment but facing issues while upgrading in UAT (clustered).

 

In Install log, the errors start with

 

 

1/13/16 10:06 AM (ExecTask) BUILD FAILED

1/13/16 10:06 AM (ExecTask) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/gateway.xml:35: The following error occurred while executing this line:

1/13/16 10:06 AM (ExecTask) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.xml:180: The following error occurred while executing this line:

1/13/16 10:06 AM (ExecTask) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.xml:220: The following error occurred while executing this line:

1/13/16 10:06 AM (ExecTask) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.xml:394: The following error occurred while executing this line:

1/13/16 10:06 AM (ExecTask) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.xml:240: Fatal error occurred while trying to process /niku/clarity_prev or /niku/clarity

1/13/16 10:06 AM (ExecTask)

1/13/16 10:06 AM (ExecTask) Total time: 33 minutes 2 seconds

1/13/16 10:06 AM (Echo) release.exec.result = BUILD FAILED

1/13/16 10:06 AM (Echo) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/gateway.xml:35: The following error occurred while executing this line:

1/13/16 10:06 AM (Echo) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.xml:180: The following error occurred while executing this line:

1/13/16 10:06 AM (Echo) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.xml:220: The following error occurred while executing this line:

1/13/16 10:06 AM (Echo) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.xml:394: The following error occurred while executing this line:

1/13/16 10:06 AM (Echo) /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.xml:240: Fatal error occurred while trying to process /niku/clarity_prev or /niku/clarity

1/13/16 10:06 AM (Echo)

1/13/16 10:06 AM (Echo) Total time: 33 minutes 2 seconds

1/13/16 10:06 AM (UnknownElement) Task "fail" finished with error.

/niku/r14_2/install.xml:873: The upgrade step for 13.1.0 failed. Please consult the

                 /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.log for that release package."

        at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:164)

        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

 

Then in the file  /niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.log

 

 

1/13/16 9:33 AM (CallList) preextract::release-override.13.1.0 --> 0.0 seconds

1/13/16 9:33 AM (Target) Target "preextract" finished.

1/13/16 9:33 AM (Project) Trying to override old definition of task java

1/13/16 9:33 AM (Target) Target "_process-install-dir" started.

1/13/16 9:33 AM (Delete) Deleting directory /niku/clarity_prev

1/13/16 10:06 AM (UnknownElement) Task "move" finished with error.

/niku/r14_2/install-packages/13.1.0/upgrade-repack.13.1.0.0248tpexcludes/install.xml:232: java.lang.OutOfMemoryError: Java heap space

        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)

        at org.apache.tools.ant.Task.perform(Task.java:348)

        at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

        at org.apache.tools.ant.Task.perform(Task.java:348)

        at com.niku.tools.taskdefs.TryTask.execute(TryTask.java:93)

        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

        at org.apache.tools.ant.Task.perform(Task.java:348)

        at org.apache.tools.ant.Target.execute(Target.java:391)

        at org.apache.tools.ant.Target.performTasks(Target.java:412)

        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)

        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 

We compared with Dev and the same move step finished in less than 1 minute there whereas it took 30 minutes.

 

Any ideas what the java heap space error means? app is not running so it can't be tweaked in properties.xml, I think.

 

Outcomes