HGWeb/Jenkins problems

Jérôme Godbout jerome at bodycad.com
Thu Aug 31 14:15:03 UTC 2017


Hi, I sometime end up with the following error too (made 2 repos pull that
work from the same host and one that failed, retry work for all 3 of them):

*10:02:12* [CAD_CPP_Packaging] $ hg showconfig paths.default*10:02:12*
[CAD_CPP_Packaging] $ hg pull --rev Designer-OnCall*10:02:15* pulling
from http://MyHost/MyRepos/ <http://bcadlx04/Bodycad/>*10:02:15*
searching for changes*10:02:15* ** unknown exception encountered,
please report by visiting*10:02:15* **
https://mercurial-scm.org/wiki/BugTracker*10:02:15* ** Python 2.7.10
(default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)]*10:02:15*
** Mercurial Distributed SCM (version 4.0.1)*10:02:15* ** Extensions
loaded: *10:02:15* Traceback (most recent call last):*10:02:15*   File
"hg", line 49, in <module>*10:02:15*   File "mercurial\dispatch.pyo",
line 60, in run*10:02:15*   File "mercurial\dispatch.pyo", line 126,
in dispatch*10:02:15*   File "mercurial\dispatch.pyo", line 216, in
_runcatch*10:02:15*   File "mercurial\dispatch.pyo", line 225, in
callcatch*10:02:15*   File "mercurial\dispatch.pyo", line 205, in
_runcatchfunc*10:02:15*   File "mercurial\dispatch.pyo", line 901, in
_dispatch*10:02:15*   File "mercurial\dispatch.pyo", line 650, in
runcommand*10:02:15*   File "mercurial\dispatch.pyo", line 909, in
_runcommand*10:02:15*   File "mercurial\dispatch.pyo", line 898, in
<lambda>*10:02:15*   File "mercurial\util.pyo", line 1037, in
check*10:02:15*   File "mercurial\commands.pyo", line 5912, in
pull*10:02:15*   File "mercurial\exchange.pyo", line 1215, in
pull*10:02:15*   File "mercurial\exchange.pyo", line 1353, in
_pullbundle2*10:02:15*   File "mercurial\wireproto.pyo", line 417, in
getbundle*10:02:15*   File "mercurial\bundle2.pyo", line 661, in
getunbundler*10:02:15*   File "mercurial\changegroup.pyo", line 38, in
readexactly*10:02:15*   File "mercurial\util.pyo", line 1660, in
read*10:02:15*   File "mercurial\util.pyo", line 1632, in
splitbig*10:02:15*   File "mercurial\httppeer.pyo", line 38, in
zgenerator*10:02:15* zlib.error: Error -3 while decompressing: invalid
code lengths set*10:02:15* ERROR: Failed to pull


Seem like I got some network problems, is there any way to
troubleshoot this? I feel like the server are well setup and work most
of the time and sometime I end up with those nasty error. Network
fluke or data corruption or is it simply packet lost? Look like some
data are not making it from the hgweb server to the Jenkins server for
some obscure reason.


If someone have a way to troubleshoot this intermittent problems on a
network I would be glad.


[image: bodycad] <https://www.bodycad.com/>
Jerome Godbout
Software Developer
2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7
T:  +1 418 527-1388
E: jerome at bodycad.com
www.bodycad.com

The contents of this email message and any attachments are intended solely
for the addressee(s) and may contain confidential and/or privileged
information and may be legally protected from disclosure. If you are not
the intended recipient of this message or their agent, or if this message
has been addressed to you in error, please immediately alert the sender by
reply email and then delete this message and any attachments. If you are
not the intended recipient, you are hereby notified that any use,
dissemination, copying, or storage of this message or its attachments is
strictly prohibited.

Le contenu de ce message et les pièces jointes sont destinés uniquement
pour le(s) destinataire(s) et peuvent contenir des informations
confidentielles et / ou privilégiées qui peuvent être protégées légalement
contre toute divulgation. Si vous n'êtes pas le destinataire de ce message
ou son agent, ou si ce message vous a été adressé par erreur, s’il vous
plaît avertir immédiatement l'expéditeur par courriel de réponse, puis
supprimer ce message et les pièces jointes. Si vous n'êtes pas le
destinataire prévu, vous êtes par la présente informé que toute
utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces
jointes est strictement interdit.

On Wed, Aug 30, 2017 at 10:05 AM, Jérôme Godbout <jerome at bodycad.com> wrote:

> Hi,
> I have intermittent problems with my hgweb with .cgi and apache
> (everything seem to work fine), I can perform a full checkout without issue
> with TortoiseHG under Windows machines to the web address, but sometime I
> got this error when doing the checkout into Jenkins:
>
> hg pull --rev default*08:07:21* pulling from http://MyHost/MyRepos/ <http://bcadlx04/Bodycad/>*08:07:21* searching for changes*08:07:21* adding changesets*08:07:21* adding manifests*08:07:21* transaction abort!*08:07:21* rollback completed*08:07:21* abort: stream ended unexpectedly (got 0 bytes, expected 4)
>
>
> I can start a build and end up with this, and start again and it will work just fine. The apache server access log only have 200 return code for the hgweb virtual host and the main access. Nothing into the error log. I'm a bit confuse about what can cause this, I double checked the network config of all machine imply into this and nothing seem to be wrong (ipV4, ipV6, hostname, domain) everything seem to be fine and ping work flawlessly under 0.75 ms. Anybody have a clue or a way to check what happen into those case? what is happening that close the stream (host unreachable, timeout, ...)?
>
>
> Any tips is welcome here, I'm a bit at lost, I don't have anything into logs except this abort and I don't understand why.
>
>
> [image: bodycad] <https://www.bodycad.com/>
> Jerome Godbout
> Software Developer
> 2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7
> T:  +1 418 527-1388 <(418)%20527-1388>
> E: jerome at bodycad.com
> www.bodycad.com
>
> The contents of this email message and any attachments are intended solely
> for the addressee(s) and may contain confidential and/or privileged
> information and may be legally protected from disclosure. If you are not
> the intended recipient of this message or their agent, or if this message
> has been addressed to you in error, please immediately alert the sender by
> reply email and then delete this message and any attachments. If you are
> not the intended recipient, you are hereby notified that any use,
> dissemination, copying, or storage of this message or its attachments is
> strictly prohibited.
>
> Le contenu de ce message et les pièces jointes sont destinés uniquement
> pour le(s) destinataire(s) et peuvent contenir des informations
> confidentielles et / ou privilégiées qui peuvent être protégées légalement
> contre toute divulgation. Si vous n'êtes pas le destinataire de ce message
> ou son agent, ou si ce message vous a été adressé par erreur, s’il vous
> plaît avertir immédiatement l'expéditeur par courriel de réponse, puis
> supprimer ce message et les pièces jointes. Si vous n'êtes pas le
> destinataire prévu, vous êtes par la présente informé que toute
> utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces
> jointes est strictement interdit.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20170831/602385f9/attachment-0002.html>


More information about the Mercurial mailing list