Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13671

Accurev cannot synctime on mac slaves

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • accurev-plugin
    • Mac Pro
      Mac OS X version 10.6.8

      Hi,

      main slave is configured on Mac. Without "Synchronize clock with Accurev server" option, I am constantly getting AccuRev Error: 13,

       
      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
      

      With turned on it is not permitted:

       
      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
      

      (some characters were replaced due to policy on % characters)

      Possible fix: execute sudo accurev synctime inspite of accurev synctime on mac os

       
      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
      

      Probably, in AccurevSCM.java, synctime(...) method should be added some checks

            feoktant Anton Feoktistov
            feoktant Anton Feoktistov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: