yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #18965
[Bug 1355442] [NEW] Need better handling of errors during dependency building
Public bug reported:
Currently when anvil is building dependency packages and a package fails
to build it will stop building packages once it hit that failure. If
you run run the build step , it will continue building packages after
the build failure. If a package fails to build and your remove the
source rpm for that package - so that anvil continues to build the other
packages dependencies. Once it has finished building only the packages
that were built *after* the failure will be in the repo. This is
because we remove the rpmbuild directory after a build failure but keep
track of where we are in the build process. The result is successfully
built packages are removed and we end up with a dependency repo that
only contains some of the successfully built rpm's.
It would be best to not remove the rpmbuild directory after an error,
but to remove it during the first part of the prepare stage - or even at
the start of the build stage.
** Affects: anvil
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1355442
Title:
Need better handling of errors during dependency building
Status in ANVIL for forging OpenStack.:
New
Bug description:
Currently when anvil is building dependency packages and a package
fails to build it will stop building packages once it hit that
failure. If you run run the build step , it will continue building
packages after the build failure. If a package fails to build and
your remove the source rpm for that package - so that anvil continues
to build the other packages dependencies. Once it has finished
building only the packages that were built *after* the failure will be
in the repo. This is because we remove the rpmbuild directory after a
build failure but keep track of where we are in the build process.
The result is successfully built packages are removed and we end up
with a dependency repo that only contains some of the successfully
built rpm's.
It would be best to not remove the rpmbuild directory after an error,
but to remove it during the first part of the prepare stage - or even
at the start of the build stage.
To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1355442/+subscriptions
Follow ups
References