Uh oh!
There was an error while loading. Please reload this page.
Conversation
Mariatta
commented
Mar 15, 2019
webknjaz
commented
Mar 15, 2019
Checking it now. |
webknjaz
commented
Mar 15, 2019
@Mariatta I expected that state would be reset if everything is completed successfully. How about calling |
webknjaz
commented
Mar 15, 2019
Any non-allowed states are supposed idicate that something went wrong. |
Mariatta
commented
Mar 15, 2019
Ok I've removed BACKPORT_COMPLETE. unset will be called instead, and using the UNSET state. |
Mariatta
commented
Mar 15, 2019
uugh don't know what's the deal with travis 😟 Tests-passing-locally-for-me™️ |
webknjaz
commented
Mar 15, 2019
Oh, that's weird... Did you run all tests locally or just related? |
Mariatta
commented
Mar 15, 2019
Hmm I ran everything |
webknjaz
commented
Mar 15, 2019
I checked this branch locally as well and it passes. |
webknjaz
commented
Mar 15, 2019
@Mariatta just to be on the safe side, could you please clear the cache in Travis CI? It's here https://travis-ci.org/python/core-workflow/caches |
Mariatta
commented
Mar 15, 2019
I've cleared cache and restart the build, still no luck 🤕 Anyone else can try this locally? |
🐍🌚🤖 @Mariatta, I've formatted these files using
|
webknjaz
commented
Mar 15, 2019
@Mariatta I know what the problem is! 🎉 So |
webknjaz
commented
Mar 15, 2019
Solutions:
- &install-and-test-cherry-picker...git:
depth: 200... |
🐍🌚🤖 @Mariatta, I've formatted these files using
|
Uh oh!
There was an error while loading. Please reload this page.
| ], | ||
| ) | ||
| @mock.patch("os.path.exists") | ||
| @mock.patch("cherry_picker.cherry_picker.validate_sha") |
There was a problem hiding this comment.
These tests aren't testing validate_sha itself, but the other functionalities. I think it is ok to be mocked.
Mariatta
commented
Mar 17, 2019
hm, but changing it to recent sha also only delays the problem, same issue will happen again in the future. |
🐍🌚🤖 @Mariatta, I've formatted these files using
|
webknjaz
commented
Mar 17, 2019
@Mariatta I think you should just make git clone deeper. Or if you're worried about the delay, it's possible to disable |
🐍🌚🤖 @Mariatta, I've formatted these files using
|
Mariatta
commented
Mar 17, 2019
Thanks, I've disabled git depth in travis CI and reverted the mocks. |
webknjaz
commented
Mar 17, 2019
@Mariatta great! P.S. One small feedback about |
Mariatta
commented
Mar 17, 2019
Thanks! |

No description provided.