Build failed in Jenkins: NIGHTLY #110

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



See <http://vm-166.abc.idm.lab.eng.brq.redhat.com:8080/job/NIGHTLY/110/display/redirect>

------------------------------------------
[...truncated 54372 lines...]
    
        # Create and extract a service keytab
        args = {SER_HOST: self.host,
                SER_PORT: self.port,
                SER_SECURE_PORT: self.sslport,
                SER_ROOT_DN: self.binddn,
                SER_ROOT_PW: self.bindpw,
                SER_CREATION_SUFFIX: self.creation_suffix,
                SER_USER_ID: self.userid,
                SER_SERVERID_PROP: self.serverid,
                SER_GROUP_ID: self.groupid,
                SER_DEPLOYED_DIR: self.prefix,
                SER_BACKUP_INST_DIR: self.backupdir,
                SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}
    
        if self.inst_scripts is not None:
            args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts
    
        content = formatInfData(args)
        result = DirSrvTools.runInfProg(prog, content, self.verbose,
                                        prefix=self.prefix)
        if result != 0:
>           raise Exception('\''Failed to run setup-ds.pl'\'')
E           Exception: Failed to run setup-ds.pl

../../../lib389/lib389/__init__.py:841: Exception
---------------------------- Captured stdout setup -----------------------------
Instance slapd-standalone1 removed.
OK group dirsrv exists
OK user dirsrv exists
=================================== FAILURES ===================================
_____________________ test_slapd_InstScriptsEnabled[true] ______________________

config_attr = '\''true'\''

    @pytest.mark.parametrize("config_attr", ('\''true'\'', '\''false'\''))
    def test_slapd_InstScriptsEnabled(config_attr):
        """Tests InstScriptsEnabled attribute with "True" and "False" options
    
        :id: 02faac7f-c44d-4a3e-bf2d-1021e51da1ed
    
        :setup: Standalone instance with slapd.InstScriptsEnabled option as "True" and "False"
    
        :steps:
             1. Execute setup-ds.pl with slapd.InstScriptsEnabled option as "True".
             2. Check if /usr/lib64/dirsrv/slapd-instance instance script directory is created or not.
             3. Execute setup-ds.pl with slapd.InstScriptsEnabled option as "False".
             4. Check if /usr/lib64/dirsrv/slapd-instance instance script directory is created or not.
    
        :expectedresults:
             1. Instance should be created.
             2. /usr/lib64/dirsrv/slapd-instance instance script directory should be created.
             3. Instance should be created.
             4. /usr/lib64/dirsrv/slapd-instance instance script directory should not be created.
        """
    
        log.info('\''set SER_INST_SCRIPTS_ENABLED to {}'\''.format(config_attr))
>       standalone = create_instance(config_attr)

suites/setup_ds/setup_ds_test.py:62: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
suites/setup_ds/setup_ds_test.py:35: in create_instance
    standalone.create()
../../../lib389/lib389/__init__.py:936: in create
    self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <lib389.DirSrv object at 0x7f74ed806c90>

    def _createDirsrv(self):
        """Create a new instance of directory server
    
            @param self - containing the set properties
    
                SER_HOST            (host)
                SER_PORT            (port)
                SER_SECURE_PORT     (sslport)
                SER_ROOT_DN         (binddn)
                SER_ROOT_PW         (bindpw)
                SER_CREATION_SUFFIX (creation_suffix)
                SER_USER_ID         (userid)
                SER_SERVERID_PROP   (serverid)
                SER_GROUP_ID        (groupid)
                SER_DEPLOYED_DIR    (prefix)
                SER_BACKUP_INST_DIR (backupdir)
                SER_REALM           (krb5_realm)
    
            @return None
    
            @raise None
    
            }
            """
    
        DirSrvTools.lib389User(user=DEFAULT_USER)
        prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)
    
        if not os.path.isfile(prog):
            log.error("Can'\''t find file: %r, removing extension" % prog)
            prog = prog[:-3]
    
        # Create and extract a service keytab
        args = {SER_HOST: self.host,
                SER_PORT: self.port,
                SER_SECURE_PORT: self.sslport,
                SER_ROOT_DN: self.binddn,
                SER_ROOT_PW: self.bindpw,
                SER_CREATION_SUFFIX: self.creation_suffix,
                SER_USER_ID: self.userid,
                SER_SERVERID_PROP: self.serverid,
                SER_GROUP_ID: self.groupid,
                SER_DEPLOYED_DIR: self.prefix,
                SER_BACKUP_INST_DIR: self.backupdir,
                SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}
    
        if self.inst_scripts is not None:
            args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts
    
        content = formatInfData(args)
        result = DirSrvTools.runInfProg(prog, content, self.verbose,
                                        prefix=self.prefix)
        if result != 0:
>           raise Exception('\''Failed to run setup-ds.pl'\'')
E           Exception: Failed to run setup-ds.pl

../../../lib389/lib389/__init__.py:841: Exception
----------------------------- Captured stdout call -----------------------------
Instance slapd-standalone1 removed.
OK group dirsrv exists
OK user dirsrv exists
----------------------------- Captured stderr call -----------------------------
INFO:setup_ds_test:set SER_INST_SCRIPTS_ENABLED to true
INFO:setup_ds_test:create_instance - Installs the instance and Sets the value of InstScriptsEnabled to true OR false.
INFO:setup_ds_test:Set up the instance and set the config_attr
_____________________ test_slapd_InstScriptsEnabled[false] _____________________

config_attr = '\''false'\''

    @pytest.mark.parametrize("config_attr", ('\''true'\'', '\''false'\''))
    def test_slapd_InstScriptsEnabled(config_attr):
        """Tests InstScriptsEnabled attribute with "True" and "False" options
    
        :id: 02faac7f-c44d-4a3e-bf2d-1021e51da1ed
    
        :setup: Standalone instance with slapd.InstScriptsEnabled option as "True" and "False"
    
        :steps:
             1. Execute setup-ds.pl with slapd.InstScriptsEnabled option as "True".
             2. Check if /usr/lib64/dirsrv/slapd-instance instance script directory is created or not.
             3. Execute setup-ds.pl with slapd.InstScriptsEnabled option as "False".
             4. Check if /usr/lib64/dirsrv/slapd-instance instance script directory is created or not.
    
        :expectedresults:
             1. Instance should be created.
             2. /usr/lib64/dirsrv/slapd-instance instance script directory should be created.
             3. Instance should be created.
             4. /usr/lib64/dirsrv/slapd-instance instance script directory should not be created.
        """
    
        log.info('\''set SER_INST_SCRIPTS_ENABLED to {}'\''.format(config_attr))
>       standalone = create_instance(config_attr)

suites/setup_ds/setup_ds_test.py:62: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
suites/setup_ds/setup_ds_test.py:35: in create_instance
    standalone.create()
../../../lib389/lib389/__init__.py:936: in create
    self._createDirsrv()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <lib389.DirSrv object at 0x7f74edc1b310>

    def _createDirsrv(self):
        """Create a new instance of directory server
    
            @param self - containing the set properties
    
                SER_HOST            (host)
                SER_PORT            (port)
                SER_SECURE_PORT     (sslport)
                SER_ROOT_DN         (binddn)
                SER_ROOT_PW         (bindpw)
                SER_CREATION_SUFFIX (creation_suffix)
                SER_USER_ID         (userid)
                SER_SERVERID_PROP   (serverid)
                SER_GROUP_ID        (groupid)
                SER_DEPLOYED_DIR    (prefix)
                SER_BACKUP_INST_DIR (backupdir)
                SER_REALM           (krb5_realm)
    
            @return None
    
            @raise None
    
            }
            """
    
        DirSrvTools.lib389User(user=DEFAULT_USER)
        prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS)
    
        if not os.path.isfile(prog):
            log.error("Can'\''t find file: %r, removing extension" % prog)
            prog = prog[:-3]
    
        # Create and extract a service keytab
        args = {SER_HOST: self.host,
                SER_PORT: self.port,
                SER_SECURE_PORT: self.sslport,
                SER_ROOT_DN: self.binddn,
                SER_ROOT_PW: self.bindpw,
                SER_CREATION_SUFFIX: self.creation_suffix,
                SER_USER_ID: self.userid,
                SER_SERVERID_PROP: self.serverid,
                SER_GROUP_ID: self.groupid,
                SER_DEPLOYED_DIR: self.prefix,
                SER_BACKUP_INST_DIR: self.backupdir,
                SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname}
    
        if self.inst_scripts is not None:
            args[SER_INST_SCRIPTS_ENABLED] = self.inst_scripts
    
        content = formatInfData(args)
        result = DirSrvTools.runInfProg(prog, content, self.verbose,
                                        prefix=self.prefix)
        if result != 0:
>           raise Exception('\''Failed to run setup-ds.pl'\'')
E           Exception: Failed to run setup-ds.pl

../../../lib389/lib389/__init__.py:841: Exception
----------------------------- Captured stdout call -----------------------------
Instance slapd-standalone1 removed.
OK group dirsrv exists
OK user dirsrv exists
----------------------------- Captured stderr call -----------------------------
INFO:setup_ds_test:set SER_INST_SCRIPTS_ENABLED to false
INFO:setup_ds_test:create_instance - Installs the instance and Sets the value of InstScriptsEnabled to true OR false.
INFO:setup_ds_test:Set up the instance and set the config_attr
=============== 2 failed, 1 skipped, 636 error in 613.64 seconds ==============='
+ '[' 1 -ne 0 ']'
+ echo CI Tests 'FAILED!'
CI Tests FAILED!
+ MSG=FAILED
+ RC=1
+ sudo /usr/sbin/sendmail mreynolds@xxxxxxxxxx firstyear@xxxxxxxxxx
+ sudo rm -rf '/var/tmp/slapd*'
+ exit 1
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
_______________________________________________
389-devel mailing list -- 389-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux