[ https://issues.jenkins-ci.org/browse/JENKINS-13671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162421#comment-162421 ]
Anton Feoktistov commented on JENKINS-13671: -------------------------------------------- Simple fix implemented, need review. https://github.com/feoktant/accurev-plugin/commit/c4b926b02827703a4401547b6795c44c4f6cca68 > Accurev cannot synctime on mac slaves > ------------------------------------- > > Key: JENKINS-13671 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13671 > Project: Jenkins > Issue Type: Bug > Components: accurev > Environment: Mac Pro > Mac OS X version 10.6.8 > Reporter: Anton Feoktistov > Assignee: Anton Feoktistov > Labels: accurev, plugin > Attachments: AccurevSCM.java > > > Hi, > main slave is configured on Mac. Without "Synchronize clock with Accurev > server" option, I am constantly getting AccuRev Error: 13, > {code} > The time on this machine is more than 5 seconds > different than the time on the server. > Please fix this and try again. > You may have a problem with your system clock. > You can force the time on your system to match > the server time using the accurev synctime command. > AccuRev Error: 13 > {code} > With turned on it is not permitted: > {code} > Authentication completed successfully. > Synchronizing clock with the server... > [dev.afeoktis.%%%%%%%%%%] $ /usr/bin/accurev synctime -H > %%%%%%%%%%%%%%%%%%%%%%%%.com:5050 > FATAL: Can't set system time: 'Operation not permitted' > FATAL: Synctime command (/usr/bin/accurev synctime -H > %%%%%%%%%%%%%%%%%%%%%%%%.com:5050) failed with exit code 1 > {code} > (some characters were replaced due to policy on % characters) > Possible fix: execute _*sudo* accurev synctime_ inspite of _accurev synctime_ > on mac os > {code} > Note: if the client computer is running Unix/Linux, you must be the root user. > http://www.accurev.com/download/ac4.5.1/docs/AccuRev_User_CLI.pdf page 191 > {code} > Probably, in AccurevSCM.java, synctime(...) method should be added some checks -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira