-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Work around for rsync error 23 (part of #1587) + new "experimental" snapshot log filter #1621
Conversation
* rsync exit code 23 is now in the ignore list * Add experimental "rsync transfer failures" filter to snapshot log view * Exclude 'SingletonLock' and 'SingletonCookie' (Discord) and 'lock' (Mozilla Firefox) files by default (part of bit-team#1555)
The TravisCI job for ppce64le on Python 3.8 is failing. This should not happen. I can't see in the logs why this happens. This was also the case with PR #1614. But we did not recognized because we are used to the fact that currently TravisCI do not work. There is another job "ppc64le Python 3.12" (the latest Python!) which do not work because TravisCI still has no Python interpreter with that version for this architecture installed. They do work on it. First of all within this PR the travis.yaml file should modified that way that the known problematic job ""ppc64le Python 3.12" is inactive. Why "ppc64le Python 3.8" is failing needs further investigation but I assume this is somehow because of PR #1614. |
I will look into this and fix it Edit: Ah, I just saw you are already fixing this, so I will wait (meanwhile trying to understand the impact of #1614 on TravisCI for ppc64le) |
Mhm... I still have no idea and can not see the error message in the TravisCI output. I removed pytest on my own machine to make sure that "unittest" package is used only. Then configure && make unitest-v was not able to reproduce the problem on my Debian 12. On Debian:
On Travis
This makes sense and does not seems wrong. But I do think that because of #1614 now "/usr/bin/python3" is used instead of "python3" in the previous versions. I am stopping here for this night and going to bed. I have no further ideas yet. |
I have injected a relative path again in I have not yet tested it with an absolute path again ( It looked like Really strange... I can do more tests Sa. night... |
I tried to run the "coverage ..." commands on my local machine. There is no error. OK, I asked the community about how to make "make" more verbose: r/pythoncoding and debianforum.de. I also asked the "coverage.py" maintainer and community about how coverage decide which Python interpreter it uses: Python discuss. |
The overage run -p -m unittest -v -b test/test_applicationinstance.py
Keyring is missing. I assume that "coverage.py" does use an Python interpreter different from the one used in this environment. Working on it ... |
💥 I have an idea about the problem but I am not sure. There are ModuleNotFound errors about "keyring" and "packaging". Not sure how this could be triggered by our last binary-path-fix. It could be that these packages are not installed inside the virtual environment that is used. Maybe it will help when installing the missing packages explicit via "pip". I also modified the "coverage" call into "{$PYTHON} -m coverage" as an experiment. But to my knowledge it doesn't matter. Coverage is used only on Travis and it always use the virtual environments own python interpreter by default. So this modification shouldn't change something and could be undone. |
Credits are back. Seems that people also working in the weekend at Travis. |
Really weird.. I'd say we should use the working |
Yes, good point. It works and doesn't matter that I don't know why it works. 😆 |
I also really want to understand what's going wrong 😄 Since it only happens on one platform (ppc64le) I suspect a packaging issue on this specific Travis CI platform. But my point is:
|
Work around: Relax
rsync
exit code 23: Ignore instead of error now (part of Master issue for "error 23" (rsync returns with exit code 23: Partial transfer due to errors) #1587)Feature: Exclude 'SingletonLock' and 'SingletonCookie' (Discord) and 'lock' (Mozilla Firefox) files by default (part of Rsync error 23 #1555)
Feature (experimental): Add new snapshot log filter
rsync transfer failures (experimental)
to find them easier (they are normally not shown as "error").This feature is experimental because it is based on hard-coded error message strings in the
rsync
source code and may possibly not find all rsync messages or show false positives.The filter is meant only to support humans, not to automatically recognize errors when taking a snapshot!
The filter recognizes snapshot log entries that would otherwise require intensive human search in long logs
because they are hidden in
[I]
nfo log entries, eg.:Changelog is updated too...