Mercurial configuration on agent being ignored.

75 views
Skip to first unread message

Mike Bayliss

unread,
Sep 22, 2017, 5:15:51 AM9/22/17
to jenkins...@googlegroups.com
I've just upgraded my master (ubuntu 16.04) from version 2.60.2 to 2.60.3 and mercurial polling has just started to fail.

First problem, an Ubuntu agent polling a repository with largefiles (mercurial on the agent has the largefiles extension enabled).:

Polling SCM changes on cache
[test cache] $ hg --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" pull --rev default
abort: unknown repository format: requires features 'largefiles' (upgrade Mercurial)!
[test cache] $ hg --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" log --rev default --template {node}
[test cache] $ hg --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" log --rev default --template {rev}
Done. Took 0.38 sec
No changes

Secondly a Windows 7 agent polling (no largefiles involved this time)::

Polling SCM changes on win-00
[test_cache_win] $ hg --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" pull --rev default
abort: The system cannot find the path specified: /var/lib/jenkins\_hgcookies
[test_cache_win] $ hg --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" log --rev default --template {node}
[test_cache_win] $ hg --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" log --rev default --template {rev}
Done. Took 0.94 sec
No changes

In each case the abort appears on the first poll after running "sudo dpkg -i jenkins_2.60.3_all.deb" (downloaded from pkg.jenkins.io/debian-stable). Nothing else changes.

The problem remains if I update all plugins, and also at version 2.73.1.
Nothing is logged while the poll is happening (I am seeing muliple "Could not create Trilead support class. Using legacy Trilead features", but not at times that coincide with the polls).
Java is version 8, mercurial is still at 2.0.2 (to avoid complaints from our Kiln server).

Any idea what's happened and what I need to do to get rid of the aborts? (I can work around the largefiles problem by enabling the extension in the repository, but that's not going to help with windows agent.)

Thanks,

Mike 


Mike Bayliss

unread,
Sep 22, 2017, 8:46:09 AM9/22/17
to jenkins...@googlegroups.com
Just let me correct the version numbers - 2.60.1 is OK, the problem appears at 2.60.2

Mike
Reply all
Reply to author
Forward
0 new messages