Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6281

Windows: Removing listen-address attributes fails during preparation to upgrade

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: upgrade
    • Labels:
    • Environment:
      Windows

      Description

      New Windows failed tests appeared on Jenkins daily runs after new changes were applied. Most of them happens during upgrade command. The common error message is raised while trying to modify ldif file:

      Removing 'listen-address' attributes that are redundant with
        default value provided by the global configuration..................   FAIL
      
      ** An error occurred while trying to modify
       E:\jenkins\workspace\OpenDJ-7.0.x\tests_daily\Configs\results\20190513-043449\upgrade_group\License\DJ_LICENSE1\opendj\config\config.ldif
       : java.io.IOException: An error occurred while renaming file
       'E:\jenkins\workspace\OpenDJ-7.0.x\tests_daily\Configs\results\20190513-043449\upgrade_group\License\DJ_LICENSE1\opendj\config\copyConfig8526970829411826652.tmp'
       to
       'E:\jenkins\workspace\OpenDJ-7.0.x\tests_daily\Configs\results\20190513-043449\upgrade_group\License\DJ_LICENSE1\opendj\config\config.ldif'  

      Steps to reproduce the issue:

      1. Setup DJ 2.6.4
      2. Upgrade instance to 7.0.0-SNAPSHOT --> error should be raised
      upgrade.bat -n --acceptLicense --force 

       

      Command to run one of the failed tests:

      run-pybot.py -s Upgrade_Group.basic dj 

       

      Found in OPENDJ 7.0.0-SNAPSHOT, revision number: 1b9988676343ecaa9416c992e7741bf30c67ad73

       

        Attachments

          Activity

            People

            • Assignee:
              nicolas.capponi@forgerock.com Nicolas Capponi
              Reporter:
              petr.matej Petr Matej [X] (Inactive)
              QA Assignee:
              Michal Severin [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: