It's all about the answers!

Ask a question

Why does build forge skip steps during a build?


Thomas Dunnigan (13114126) | asked Jun 11 '12, 12:28 p.m.

We have an intermittent issue with BF no displaying steps executed in the console.  This happens rarely and is not repeatable (on-demand) but it does provide a challenged in understanding of the status of a build.

A reviw of the logs shows the following results.   Any solutions to stop theis from happening.
Version 7.1.3.2
DB2 9.7 3a
All VMWare VM's

Mon 11 Jun 2012 05:11:48 AM EDT: CRRBF2692I: 14917: Build: Job [BUILD4212] for Project [ZZZZZ] started
DBD::DB2::st execute failed: [IBM][CLI Driver][DB2/LINUXX8664] SQL0530N  The insert or update value of the FOREIGN KEY "BUILDFORGE.BF_RESULTS.FK_BF_RESULT1" is not equal to any value of the parent key of the parent table.  SQLSTATE=23503
Mon 11 Jun 2012 05:12:14 AM EDT: CRRBFEEEEE: 14917: Database: DBD::DB2::st execute failed: [IBM][CLI Driver][DB2/LINUXX8664] SQL0530N  The insert or update value of the FOREIGN KEY "BUILDFORGE.BF_RESULTS.FK_BF_RESULT1" is not equal to any value of the parent key of the parent table.  SQLSTATE=23503

Mon 11 Jun 2012 05:12:16 AM EDT: CRRBF0551I: 14917: Database: StackTrace from Process id [14917] called from [
   BuildForge::DB::db2(./PerlApp/BuildForge/DB/db2.pm:65)
   BuildForge::Project::Step(./PerlApp/BuildForge/Project/Step.pm:521)
   BuildForge::Artifact::Project(./PerlApp/BuildForge/Artifact/Project.pm:966)
   BuildForge::Artifact::Build(./PerlApp/BuildForge/Artifact/Build.pm:656)
   BuildForge::Artifact::Build(./PerlApp/BuildForge/Artifact/Build.pm:342)
   main(.bfproject.pl:53)
   main(.bfproject.pl:46)
]

One answer



permanent link
Spencer Murata (2.3k115971) | answered Jun 28 '12, 9:02 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
I would open a defect with this information.  It should not be possible to violate a foreign key constraint by just running a build.  Especially intermittently.

~Spencer

Your answer


Register or 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.