Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666708 - [tryton] Repository URI unaccessible
Summary: [tryton] Repository URI unaccessible
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Cédric Krier
URL: https://qa-reports.gentoo.org/output/...
Whiteboard:
Keywords:
Depends on:
Blocks: repository-qa-issues
  Show dependency tree
 
Reported: 2018-09-21 14:46 UTC by Michał Górny
Modified: 2018-09-23 20:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-21 14:46:41 UTC
Our automated repository checks [1] have detected that the 'tryton'
repository can not be synced.

The following URIs are listed for the repository:

  [mercurial] https://hg.tryton.org/tryton-overlay

Please verify that the server hosting the repository is working
correctly. If the repository has been moved to a new location or removed
altogether, please let us know to update the record appropriately.

We reserve the right to remove the repository if we do not receive any
reply within 2 weeks.

[1]:https://wiki.gentoo.org/wiki/Project:Repository_mirror_and_CI
Comment 1 Larry the Git Cow gentoo-dev 2018-09-21 14:47:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/api.git/commit/?id=c2d89ad12c6e2ff9a2963b652f7c9d02b5c3b55e

commit c2d89ad12c6e2ff9a2963b652f7c9d02b5c3b55e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-09-21 14:47:13 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-09-21 14:47:13 +0000

    repositories: Remove tryton due to sync hanging
    
    Remove tryton overlay since the server seems unresponsive and causes
    mercurial to hang.
    
    Bug: https://bugs.gentoo.org/666708
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 files/overlays/repositories.xml | 9 ---------
 1 file changed, 9 deletions(-)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-21 14:48:47 UTC
As you can see, I had to remove it because it caused a major hang on repo-mirror-ci pipeline.  I would like to recommend you switch away from mercurial since that *beep* doesn't support timeouts and causes major pain to users.
Comment 3 Cédric Krier gentoo-dev 2018-09-21 15:29:22 UTC
I do not understand. The server is up, responding and working correctly. Can you provide more information about the network issue?
Also can you provide which version of mercurial, you are using because normally it uses the default timeout of the OS.

But I find it harsh to only left 1min between the submission of the issue and the removal of the repository while you state that there are 2 weeks to reply.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-21 15:38:23 UTC
I find it harsh that Gentoo users weren't able to get updates for 11 hours because mercurial hanged the system.  Mercurial is probably the most unstable VCS I have ever worked with, and with my limited time I don't really have the patience to fight it.

What I can get out of strace boils down to SSL exchange happening, then it writes something and waits for the result forever:

getsockopt(3, SOL_SOCKET, SO_TYPE, [1], [4]) = 0
getpeername(3, {sa_family=AF_INET6, sin6_port=htons(443), inet_pton(AF_INET6, "2001:41d0:1:c158::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, [28]) = 0
getpid()                                = 1820
write(3, "\26\3\1\2\0\1\0\1\374\3\3v\323\230\20\356k\374Y\353u\233\210\241=>X\223G1\374\5"..., 517) = 517
read(3,
Comment 5 Cédric Krier gentoo-dev 2018-09-21 15:56:34 UTC
> I find it harsh that Gentoo users weren't able to get updates for 11 hours because mercurial hanged the system.

They have to wait only if they are using this overlay. Also nothing said that it is a widely spread issue because I have no problem to clone the repository from here. And now the users of this overlay will not find it, it is not better for them.

Can you point me which version of Mercurial you are using? And what is the command run that hang out.

> Mercurial is probably the most unstable VCS I have ever worked with, and with my limited time I don't really have the patience to fight it.

Does it mean that all mercurial repository will be removed from overlay? Should it not be a planning and announcement for such decision?
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-21 16:01:10 UTC
(In reply to Cédric Krier from comment #5)
> > I find it harsh that Gentoo users weren't able to get updates for 11 hours because mercurial hanged the system.
> 
> They have to wait only if they are using this overlay. Also nothing said
> that it is a widely spread issue because I have no problem to clone the
> repository from here. And now the users of this overlay will not find it, it
> is not better for them.

You blocked Gentoo Infra from updating for 11 hours.

> Can you point me which version of Mercurial you are using? And what is the
> command run that hang out.

The command was 'hg pull' but I can reproduce with plain 'hg clone https://hg.tryton.org/tryton-overlay'.

> 
> > Mercurial is probably the most unstable VCS I have ever worked with, and with my limited time I don't really have the patience to fight it.
> 
> Does it mean that all mercurial repository will be removed from overlay?
> Should it not be a planning and announcement for such decision?

Maybe.  For now, I've removed the one that's hanging the system.
Comment 7 Cédric Krier gentoo-dev 2018-09-21 16:13:28 UTC
So if you can reproduce, can you give more information about the host performing the clone. What is its default timeout? What is the traceroute to hg.tryton.org?

Will you re-add the repository if I put a mirror on bitbucket.org?
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-23 20:25:11 UTC
The repository has been removed, rendering this bug obsolete.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-23 20:28:03 UTC
Seems to work now.  I'll readd.  Though mirror on bitbucket would indeed be helpful (provided it comes first, as it won't help at all if your server starts hanging everything again).