Page MenuHomeSoftware Heritage

Debug hgutils flakiness 2/2
AbandonedPublic

Authored by ardumont on Jul 28 2021, 4:40 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Summary

As this timeout is more than the harcoded one second in the clone function. That must be
the reason why now this is always working.

Test Plan

tox happy

$ pytest -x -s swh/ -k test_clone_timeout --pdb
============================================================================================================= test session starts =============================================================================================================
platform linux -- Python 3.7.3, pytest-6.0.1, py-1.9.0, pluggy-0.13.1
rootdir: /home/tony/work/inria/repo/swh/swh-environment/swh-loader-mercurial, configfile: pytest.ini
plugins: xdist-1.32.0, celery-4.4.6, testinfra-5.2.1, postgresql-2.4.0, django-test-migrations-1.1.0, forked-1.2.0, asyncio-0.12.0, requests-mock-1.8.0, mock-3.1.1, dash-1.13.1, cov-2.11.1, django-3.9.0, flask-1.0.0, hypothesis-6.8.9, redis-2.0.0, kafka-0.4.0, swh.core-0.14.3, swh.journal-0.8.0
collected 54 items / 53 deselected / 1 selected

swh/loader/mercurial/tests/test_hgutil.py 2021-07-28 14:58:48.330530+00:00 start
2021-07-28 14:58:48.334477+00:00 start
2021-07-28 14:58:48.340472+00:00 clone start
(false clone) 2021-07-28 14:58:48.341286+00:00 Sleep for 10 seconds.
2021-07-28 14:58:49.339832+00:00 joined
2021-07-28 14:58:49.340149+00:00 process still alive
2021-07-28 14:58:49.340347+00:00 sleep 0.1 second
2021-07-28 14:58:49.440839+00:00 sleep 0.1 second
2021-07-28 14:58:49.541282+00:00 sleep 0.1 second
2021-07-28 14:58:49.641692+00:00 sleep 0.1 second
2021-07-28 14:58:49.742027+00:00 sleep 0.1 second
2021-07-28 14:58:49.842385+00:00 sleep 0.1 second
2021-07-28 14:58:49.942873+00:00 sleep 0.1 second
2021-07-28 14:58:50.043386+00:00 sleep 0.1 second
2021-07-28 14:58:50.143892+00:00 sleep 0.1 second
2021-07-28 14:58:50.244335+00:00 sleep 0.1 second
2021-07-28 14:58:50.344789+00:00 process 16943 to stop: killed==True

Diff Detail

Repository
rDLDHG Mercurial loader
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 22803
Build 35559: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 35558: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D6041 (id=21841)

Could not rebase; Attempt merge onto f3232bfd67...

Updating f3232bf..5077df9
Fast-forward
 swh/loader/mercurial/hgutil.py            | 10 +++++++---
 swh/loader/mercurial/tests/test_hgutil.py | 12 +++++++++---
 2 files changed, 16 insertions(+), 6 deletions(-)
Changes applied before test
commit 5077df9f6590d5f00de977045a2ccf3f4e6bd9f3
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Jul 28 16:40:08 2021 +0200

    Debug hgutils flakiness 2/2
    
    As this timeout is more than the harcoded one second in the clone function. That must be
    the reason why now this is always working.

commit 83e6d08c0ea8e07bd31f9b844cc81028771f9b5c
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Jul 28 16:35:59 2021 +0200

    Debug hgutils flakiness

See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/266/ for more details.

Build is green

Patch application report for D6041 (id=21844)

Could not rebase; Attempt merge onto f3232bfd67...

Updating f3232bf..8c5d628
Fast-forward
 swh/loader/mercurial/hgutil.py            | 18 ++++++++++++++++--
 swh/loader/mercurial/tests/test_hgutil.py | 12 +++++++++---
 2 files changed, 25 insertions(+), 5 deletions(-)
Changes applied before test
commit 8c5d62874b73a838b9ec34ebb25212bb2016ee4f
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Jul 28 16:40:08 2021 +0200

    Debug hgutils flakiness 2/2
    
    As this timeout is more than the harcoded one second in the clone function. That must be
    the reason why now this is always working.

commit 566c65f47746abfc85e0e8a54025f97100ad7556
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Jul 28 16:35:59 2021 +0200

    Debug hgutils flakiness

See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/268/ for more details.

Build is green

Patch application report for D6041 (id=21846)

Could not rebase; Attempt merge onto f3232bfd67...

Updating f3232bf..569a2eb
Fast-forward
 swh/loader/mercurial/hgutil.py            | 18 ++++++++++++++++--
 swh/loader/mercurial/tests/test_hgutil.py | 12 +++++++++---
 2 files changed, 25 insertions(+), 5 deletions(-)
Changes applied before test
commit 569a2eb73fb324e1dcddc75b287b5c1fb896f559
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Jul 28 16:40:08 2021 +0200

    Debug hgutils flakiness 2/2
    
    As this timeout is more than the harcoded one second in the clone function. That must be
    the reason why now this is always working.

commit 519629942604d026cb515f7fe9f2e327af4c8e04
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Jul 28 16:35:59 2021 +0200

    Debug hgutils flakiness

See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/270/ for more details.