[JIRA] (JENKINS-59096) Mercurial plugin stops working after password change

8 views
Skip to first unread message

ch.fetzer@gmx.net (JIRA)

unread,
Aug 27, 2019, 4:06:02 AM8/27/19
to jenkinsc...@googlegroups.com
Christoph Fetzer created an issue
 
Jenkins / Bug JENKINS-59096
Mercurial plugin stops working after password change
Issue Type: Bug Bug
Assignee: Unassigned
Components: mercurial-plugin
Created: 2019-08-27 08:05
Environment: Jenkins ver. 2.176.2
mercurial plugin 2.8
TortoiseHg 4.3.1
Mercurial 4.3.1
Labels: Mercurial Password-change Authentication
Priority: Critical Critical
Reporter: Christoph Fetzer

I have a pipeline-job with mercurial SCM working for some time now.

Currently the password policy forced me to change the password. Since that time the job stopped working with the following output:

Started by user xxx
Checking out hg http://myserver/hg/product/ default into D:\workdir\build\mybuild\workspace@script to read Jenkins/Jenkinsfile
Acquired master cache lock.
[CE47F913B3A5D3AC403DD8A225DB0EACDEBF7619-myproduct-myuser] $ "C:\Program Files\TortoiseHg\hg.exe" --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" pull
pulling from http://myserver/hg/myproduct/
abort: keyring: http authorization required but program used in non-interactive mode
ERROR: Failed to update D:\workdir\.jenkins\hgcache\CE47F913B3A5D3AC403DD8A225DB0EACDEBF7619-myproduct-myuser
Master cache lock released.
ERROR: Failed to use repository cache for http://myserver/hg/myproduct/
[workspace@script] $ "C:\Program Files\TortoiseHg\hg.exe" --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" pull --rev default
pulling from http://myserver/hg/myproduct/
abort: keyring: http authorization required but program used in non-interactive mode
ERROR: Failed to pull
ERROR: Failed to pull
ERROR: Maximum checkout retry attempts reached, aborting
Finished: FAILURE

I did change the credentials in the credential settings properly.

Please contact me in case of missing information.

I guess it's something with cashed credentials by hg.exe and a user confirmation for the change of the credentials.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ch.fetzer@gmx.net (JIRA)

unread,
Aug 30, 2019, 4:26:01 AM8/30/19
to jenkinsc...@googlegroups.com

ch.fetzer@gmx.net (JIRA)

unread,
Aug 30, 2019, 4:27:01 AM8/30/19
to jenkinsc...@googlegroups.com
Christoph Fetzer commented on Bug JENKINS-59096
 
Re: Mercurial plugin stops working after password change

Anybody out there? I can't work with it currently....

ch.fetzer@gmx.net (JIRA)

unread,
Sep 10, 2019, 5:26:03 AM9/10/19
to jenkinsc...@googlegroups.com

Addition: as soon as I synced once with the TortoiseHg GUI (and was asked for the password) the plugin started to work again. Unfortunately I now cannot test any impovements of modified plugins before the next password change.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

ch.fetzer@gmx.net (JIRA)

unread,
Mar 23, 2020, 8:30:02 AM3/23/20
to jenkinsc...@googlegroups.com

This on still applies and blocks my work switching my repositories.

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

ch.fetzer@gmx.net (JIRA)

unread,
Mar 23, 2020, 9:03:05 AM3/23/20
to jenkinsc...@googlegroups.com
Christoph Fetzer edited a comment on Bug JENKINS-59096
This on one still applies and blocks my work switching my repositories.

jglick@cloudbees.com (JIRA)

unread,
Apr 2, 2020, 9:17:02 AM4/2/20
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Cannot Reproduce
 

Hard to say offhand what might be wrong. Most likely something in your environment / configuration.

Change By: Jesse Glick
Status: Open Resolved
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages