Re: [Python-Dev] Keeping an eye on Travis CI, AppVeyor and buildbots: revert on regression

No, replying only to you wasn't intended. https://docs.travis-ci.com/user/running-build-in-debug-mode/ is the official doc on how to debug a Travis CI build via ssh. On 04.06.2018 22:31, Victor Stinner wrote:
FYI you only replied to me in private. Is it on purpose?
I'm interested if I can learn how to get a SSH access to Travis CI!
2018-06-04 21:05 GMT+02:00 Ivan Pozdeev <vano@mail.mipt.ru>:
On 04.06.2018 19:31, Victor Stinner wrote:
2018-05-30 11:33 GMT+02:00 Victor Stinner <vstinner@redhat.com>:
I fixed a few tests which failed randomly. There are still a few, but the most annoying have been fixed. Quick update a few days later.
For an unknown reason, test_multiprocessing_forkserver.TestIgnoreEINTR.test_ignore() started to fail very frequently but only on Travis CI. I have no explanation why only Travis CI. I failed to reproduce the issue on a Ubuntu Trusty container or in a Ubuntu Trusty VM. After hours of debug, I found the bug and wrote a fix. But the fix didn't work in all cases. A second fix and now it seems like the issue is gone!
FYI Travis claim they provide ssh access on request to debug particularly pesky issues. Last time I tried, got no response from them though.
https://bugs.python.org/issue33532 if you are curious about the strange multiprocessing send() which must block but it doesn't :-)
Except Windows 7 which has issues with test_asyncio and multiprocessing tests because this buildbot is slow, it seems like most CIs are now stable.
Known issues:
* PPC64 Fedora 3.x, PPC64LE Fedora 3.x, s390x RHEL 3.x: https://bugs.python.org/issue33630 * AIX: always red * USBan: experimental buildbot * Alpine: platform not supported yet (musl issues)
Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/vano%40mail.mipt.ru
-- Regards, Ivan
-- Regards, Ivan

2018-06-04 21:37 GMT+02:00 Ivan Pozdeev <vano@mail.mipt.ru>:
https://docs.travis-ci.com/user/running-build-in-debug-mode/ is the official doc on how to debug a Travis CI build via ssh.
Did you already try it? The doc mentions a "[Debug]" button, but I cannot see it whereas I'm logged in in the Python organization. I also tried the curl API call but it fails with: { "@type": "error", "error_type": "wrong_credentials", "error_message": "access denied" } curl -s -X POST \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "Travis-API-Version: 3" \ -H "Authorization: token XXXXX" \ -d "{\"quiet\": true}" \ https://api.travis-ci.org/job/388706591/debug where XXXXX is my hidden token ;-) If I use an invalid token ID, I get a different error: just the string "access denied", instead of a JSON dictionary. First I was also confused between travis-ci.com and travis-ci.org ... The documentation shows an example with .com, but Python organization uses .org. Victor

2018-06-04 21:37 GMT+02:00 Ivan Pozdeev <vano@mail.mipt.ru>:
https://docs.travis-ci.com/user/running-build-in-debug-mode/ is the official doc on how to debug a Travis CI build via ssh. Did you already try it? The doc mentions a "[Debug]" button, but I cannot see it whereas I'm logged in in the Python organization. Last I checked, they wrote it's only available for paid accounts (on
On 06.06.2018 18:10, Victor Stinner wrote: travis-ci.com) by default and only enabled for others on a case-by-case basis, but I cannot find this info now. So suggest you make a support ticket at https://github.com/travis-ci/travis-ci .
I also tried the curl API call but it fails with:
{ "@type": "error", "error_type": "wrong_credentials", "error_message": "access denied" }
curl -s -X POST \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "Travis-API-Version: 3" \ -H "Authorization: token XXXXX" \ -d "{\"quiet\": true}" \ https://api.travis-ci.org/job/388706591/debug
where XXXXX is my hidden token ;-)
If I use an invalid token ID, I get a different error: just the string "access denied", instead of a JSON dictionary. First I was also confused between travis-ci.com and travis-ci.org ... The documentation shows an example with .com, but Python organization uses .org.
Victor
-- Regards, Ivan

First I was also confused between travis-ci.com and travis-ci.org ... The documentation shows an example with .com, but Python organization uses .org.
Victor
.org is legacy. Open source projects can migrate to new .com. Maybe, ssh is .com only feature. https://blog.travis-ci.com/2018-05-02-open-source-projects-on-travis-ci-com-... https://docs.travis-ci.com/user/open-source-on-travis-ci-com/

On Wed, 6 Jun 2018 at 09:27 INADA Naoki <songofacandy@gmail.com> wrote:
First I was also
confused between travis-ci.com and travis-ci.org ... The documentation shows an example with .com, but Python organization uses .org.
Victor
.org is legacy.
Open source projects can migrate to new .com.
... eventually: "existing user accounts and repositories will be migrated over time." I have not seen any announcements or anything regarding how when or how to migrate ourselves. -Brett
Maybe, ssh is .com only feature.
https://blog.travis-ci.com/2018-05-02-open-source-projects-on-travis-ci-com-...
https://docs.travis-ci.com/user/open-source-on-travis-ci-com/
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org

2018年6月7日(木) 2:44 Brett Cannon <brett@python.org>:
On Wed, 6 Jun 2018 at 09:27 INADA Naoki <songofacandy@gmail.com> wrote:
First I was also
confused between travis-ci.com and travis-ci.org ... The documentation shows an example with .com, but Python organization uses .org.
Victor
.org is legacy.
Open source projects can migrate to new .com.
... eventually: "existing user accounts and repositories will be migrated over time." I have not seen any announcements or anything regarding how when or how to migrate ourselves.
-Brett
Before waiting notice from Travis-CI, we need to activate the repository on new site. https://docs.travis-ci.com/user/open-source-on-travis-ci-com/#Existing-Open-...
However, open source repositories will be migrated to travis-ci.com gradually, beginning at the end of Q2 2018. You will receive an email when the migration for a repository is complete. This is an opt-in process: to have a repository migrated over, it must first be activated on travis-ci.com.
Could someone who is python org admin owner try activa ting from here? https://travis-ci.com/profile/python

Activating Travis CI GitHub app is being tracked in https://github.com/python/core-workflow/issues/255 Let's not press the button until after the 3.7 release. On Wed, Jun 6, 2018, 3:57 PM INADA Naoki <songofacandy@gmail.com> wrote:
2018年6月7日(木) 2:44 Brett Cannon <brett@python.org>:
On Wed, 6 Jun 2018 at 09:27 INADA Naoki <songofacandy@gmail.com> wrote:
First I was also
confused between travis-ci.com and travis-ci.org ... The documentation shows an example with .com, but Python organization uses .org.
Victor
.org is legacy.
Open source projects can migrate to new .com.
... eventually: "existing user accounts and repositories will be migrated over time." I have not seen any announcements or anything regarding how when or how to migrate ourselves.
-Brett
Before waiting notice from Travis-CI, we need to activate the repository on new site.
https://docs.travis-ci.com/user/open-source-on-travis-ci-com/#Existing-Open-...
However, open source repositories will be migrated to travis-ci.com gradually, beginning at the end of Q2 2018. You will receive an email when the migration for a repository is complete. This is an opt-in process: to have a repository migrated over, it must first be activated on travis-ci.com.
Could someone who is python org admin owner try activa ting from here? https://travis-ci.com/profile/python _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/mariatta.wijaya%40gmail.c...
participants (5)
-
Brett Cannon
-
INADA Naoki
-
Ivan Pozdeev
-
Mariatta Wijaya
-
Victor Stinner