Patch failures with dependent patches + deleted files

24 views
Skip to first unread message

Ken Rockot

unread,
Mar 13, 2017, 1:05:33 PM3/13/17
to Chromium-dev
I have an issue where one CL modifies a file, and a dependent follow-up CL deletes the file.

The second CL always encounters a patch failure with an error which appears to indicate that the CLs are applied locally in succession without separate commits (i.e. "git rm" fails because "the following file has changes staged in the index")

I don't know where the boundaries lie between all the different pieces of this system, so I can't tell if this is just a Rietveld bug that will never be fixed, or something which actually needs attention in infra. 

Any ideas? Workarounds (aside from the obvious of just waiting for CL 1 to land?)

Primiano Tucci

unread,
Mar 13, 2017, 1:18:52 PM3/13/17
to roc...@chromium.org, infr...@chromium.org, Chromium-dev
+infra-dev

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BapAgGUY%2BgRGHCUY80k6WhSbEBnFFLjQH6G1zvv9gRYfTcmZA%40mail.gmail.com.

Aaron Gable

unread,
Mar 13, 2017, 6:49:50 PM3/13/17
to Primiano Tucci, roc...@chromium.org, hin...@chromium.org, tan...@chromium.org, infr...@chromium.org, Chromium-dev
This seems like a bug in bot_update. +Ryan Tseng and +Andrii Shyshkalov who have done the most work there, I believe.

You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CA%2ByH71frAGBcaSyn6giMfQ9sOESMYykyFmqU-2P5JB6%3DnHn1kQ%40mail.gmail.com.

Ryan Tseng

unread,
Mar 13, 2017, 7:14:16 PM3/13/17
to Aaron Gable, Primiano Tucci, roc...@chromium.org, tan...@chromium.org, infr...@chromium.org, Chromium-dev
Do you have any links?

On Mon, Mar 13, 2017 at 3:48 PM, Aaron Gable <aga...@chromium.org> wrote:
This seems like a bug in bot_update. +Ryan Tseng and +Andrii Shyshkalov who have done the most work there, I believe.
On Mon, Mar 13, 2017 at 10:17 AM Primiano Tucci <prim...@chromium.org> wrote:
+infra-dev


On Mon, Mar 13, 2017 at 5:05 PM Ken Rockot <roc...@chromium.org> wrote:
I have an issue where one CL modifies a file, and a dependent follow-up CL deletes the file.

The second CL always encounters a patch failure with an error which appears to indicate that the CLs are applied locally in succession without separate commits (i.e. "git rm" fails because "the following file has changes staged in the index")

I don't know where the boundaries lie between all the different pieces of this system, so I can't tell if this is just a Rietveld bug that will never be fixed, or something which actually needs attention in infra. 

Any ideas? Workarounds (aside from the obvious of just waiting for CL 1 to land?)

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BapAgGUY%2BgRGHCUY80k6WhSbEBnFFLjQH6G1zvv9gRYfTcmZA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.

Noel Gordon

unread,
Mar 13, 2017, 9:12:25 PM3/13/17
to Chromium-dev, aga...@chromium.org, prim...@chromium.org, roc...@chromium.org, tan...@chromium.org, infr...@chromium.org, hin...@chromium.org
Ryan,

On Tuesday, March 14, 2017 at 10:14:16 AM UTC+11, Ryan Tseng wrote:
Do you have any links?


Wanted to git rm   extensions/common/extension_utility_messages.h, patch won't apply.

 
On Mon, Mar 13, 2017 at 3:48 PM, Aaron Gable <aga...@chromium.org> wrote:
This seems like a bug in bot_update. +Ryan Tseng and +Andrii Shyshkalov who have done the most work there, I believe.

On Mon, Mar 13, 2017 at 10:17 AM Primiano Tucci <prim...@chromium.org> wrote:
+infra-dev


On Mon, Mar 13, 2017 at 5:05 PM Ken Rockot <roc...@chromium.org> wrote:
I have an issue where one CL modifies a file, and a dependent follow-up CL deletes the file.

The second CL always encounters a patch failure with an error which appears to indicate that the CLs are applied locally in succession without separate commits (i.e. "git rm" fails because "the following file has changes staged in the index")

I don't know where the boundaries lie between all the different pieces of this system, so I can't tell if this is just a Rietveld bug that will never be fixed, or something which actually needs attention in infra. 

Seems like a bug to me.
 

Any ideas? Workarounds (aside from the obvious of just waiting for CL 1 to land?)

Workaround: #ifdef 0 / #endif the code you want to git rm, and upload that.  Not ideal, but your patch and it dependents will apply [1].

~noel

Ken Rockot

unread,
Mar 13, 2017, 11:39:00 PM3/13/17
to Noel Gordon, Primiano Tucci, Ryan Tseng, tan...@chromium.org, infr...@chromium.org, Chromium-dev, aga...@chromium.org

Julie Parent

unread,
Mar 22, 2017, 8:36:16 PM3/22/17
to Ken Rockot, Noel Gordon, Primiano Tucci, Ryan Tseng, Andrii Shyshkalov, infr...@chromium.org, Chromium-dev, Aaron Gable
Has anyone been able to follow up on this?

Erik Staab

unread,
Mar 26, 2017, 10:57:55 PM3/26/17
to Julie Parent, Ken Rockot, Noel Gordon, Primiano Tucci, Ryan Tseng, Andrii Shyshkalov, infr...@chromium.org, Chromium-dev, Aaron Gable
Thanks for reporting this. There seems to be a bug on file for this already, we can take the discussion there:

Reply all
Reply to author
Forward
0 new messages