Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Build fails saying a snapshot is missing when it exists

I have a problem. The builds fails on Stream and Workspace saying the snapshot is missing, same message for Stream and Workspace.

I have create 2 snapshots in Stream and Workspace.

there are not pending changes between them.

What can be wrong?

[generateChangeLog] Not using a proxy to reach https://igartc02.swg.usma.ibm.com/jazz/
[generateChangeLog] com.ibm.team.build.common.TeamBuildException: Illegal currentBuildResultUUID: The build result with UUID "_2FG2IK0dEeeFMdryLKNlNQ" has no snapshot.
[generateChangeLog]     at com.ibm.team.build.ant.task.GenerateChangeLogTask.getSnapshotContribution(GenerateChangeLogTask.java:371)
[generateChangeLog]     at com.ibm.team.build.ant.task.GenerateChangeLogTask.doExecute(GenerateChangeLogTask.java:259)
[generateChangeLog]     at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:974)
[generateChangeLog]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[generateChangeLog]     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
[generateChangeLog]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[generateChangeLog]     at java.lang.reflect.Method.invoke(Method.java:611)
[generateChangeLog]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[generateChangeLog]     at org.apache.tools.ant.Task.perform(Task.java:348)
[generateChangeLog]     at org.apache.tools.ant.Target.execute(Target.java:357)
[generateChangeLog]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
[generateChangeLog]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[generateChangeLog]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[generateChangeLog]     at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[generateChangeLog]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[generateChangeLog]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[generateChangeLog]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[generateChangeLog]     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
[generateChangeLog]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[generateChangeLog]     at java.lang.reflect.Method.invoke(Method.java:611)
[generateChangeLog]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[generateChangeLog]     at org.apache.tools.ant.Task.perform(Task.java:348)
[generateChangeLog]     at org.apache.tools.ant.Target.execute(Target.java:357)
[generateChangeLog]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
[generateChangeLog]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[generateChangeLog]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[generateChangeLog]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[generateChangeLog]     at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[generateChangeLog]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
[generateChangeLog]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
[generateChangeLog]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[generateChangeLog]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

0 votes



One answer

Permanent link

 For generateChangeLogTask, you can either compare two build results (with snapshots associated with each of the build results) or directly compare two snapshots. If you provide a currentSnapshotUUID, then a currentBuildResultUUID is not required. However, if you provide a currentBuildResultUUID, then there should be a snapshot associated with the build result. See https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.build.doc%2Ftopics%2Fr_generatechangelog.html

2 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,117
× 35

Question asked: Oct 09 '17, 2:32 p.m.

Question was seen: 1,907 times

Last updated: Oct 10 '17, 2:00 a.m.

Confirmation Cancel Confirm