Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork966
Skip failing test if platform.dist() is Xenial#831
Skip failing test if platform.dist() is Xenial#831cclauss wants to merge 4 commits intogitpython-developers:masterfrom
Conversation
codecov-io commentedJan 21, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #831 +/- ##==========================================+ Coverage 94.79% 94.79% +<.01%========================================== Files 59 59 Lines 9600 9604 +4 ==========================================+ Hits 9100 9104 +4 Misses 500 500
Continue to review full report at Codecov.
|
jeking3 commentedJan 21, 2019
Do we know why it fails? I would never approve a test change like this... how about using a xenial docker container to figure out why? |
jeking3 commentedFeb 5, 2019
Given my pull request is hitting this, I decided to look into it. I made a docker container to run tox inside with python 2.7 through 3.7 and this happens: It looks like there is some unexpected information coming out of git with xenial, which is newer than the one that comes with trusty, so disabling this test is absolutely not the right thing to do. |
jeking3 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
The failing test is valid and showing the code is not ready for the updated git version on xenial. It may work find on trusty, but fails on xenial because it looks like git output changed.
cclauss commentedFeb 5, 2019
What happens if git is upgraded on trusty? |
jeking3 commentedFeb 5, 2019
I may have been running into a different issue, as locally I had origin set to a git uri instead of https uri, and one of the tests was failing as a result. The last remote test assumes you have read access to origin (on github). Still running through to see what happens. |
jeking3 commentedFeb 5, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Okay, this is pretty frustrating. The entire test suite seems to run only if the current branch is "master". If you are on another branch, there are a number of failures due to bad assumptions? Does anybody else do their work on a branch in a fork, or do you do all of your work in the master branch of your fork? Example: Although the test seems to make you want to think it's okay, the assertion fails and the test actually fails. Then I run into: Again this is because I have changes locally on a branch, which is best practices even if you are on your own fork. |
jeking3 commentedFeb 5, 2019
I found a FIXME in the command handler around joining the process thread which states that joining there could block stdin. The issue we're seeing in the CI build is that the command "git cat-file --batch" is waiting for stdin, but does not get it, so I think the issue is around there... |
jeking3 commentedFeb 5, 2019
I changed Python 3.7 to an allowed failure. There is something odd going on here I spent all day trying to understand. I cannot reproduce it inside a Docker container running xenial. Clearly the "get fetch --progress -v" is causing some sort of problem but all we get is error 1 and no additional information. |
jeking3 commentedFeb 5, 2019
Finally I was able to reproduce the issue in the docker container. Xenial comes with git 2.7.4 but 2.20.1 is installed on the xenial images on Travis, and when I updated the docker container to use the same version I am able to reproduce the issue: |
jeking3 commentedFeb 6, 2019
So with git 2.20.1 running as a daemon I get an error: "would clobber existing tag" looks like new behavior since April 2018. Need to use --force now. |
jeking3 commentedFeb 6, 2019
git 2.20 added new behavior here, no longer clobbering local tags: |
Uh oh!
There was an error while loading.Please reload this page.
Related to#827
Ready for review.