On Wed, Nov 02 2016 at 11:27:18 am CET, William Brown <wibrown@xxxxxxxxxx> wrote: > On Thu, 2016-11-03 at 02:13 +0100, Jenkins wrote: >> See <http://vm-058-081.abc.idm.lab.eng.brq.redhat.com:8080/job/389-DS-COMMIT/139/changes> >> >> Changes: >> >> [firstyear] Ticket 49025 - Upgrade nunc-stans to 0.2.1 >> >> [firstyear] Ticket 49026 - Support nunc-stans pkgconfig > > ... > >> Build step 'Execute shell' marked build as failure > > Jenkins is lying. The issue was a remaining ns-slapd instance that > wasn't shutdown / removed properly. > > After killing it, and running the tests, everything but the ldap snmp > agent is working. > > I'm not 100% across the snmp agent stuff, but it's flakey on my own > laptop so I'm not sure how to investigate. > > [root@vm-058-081 tests]# > PYTHONPATH=/usr/lib64/python2.7:/usr/lib64/python2.7/plat-linux2:/usr/lib64/python2.7/site-packages:/usr/lib/python2.7/site-packages:/var/lib/jenkins/jobs/389-DS-COMMIT/workspace/source/lib389/ py.test -v suites/basic/basic_test.py > =============================================================================================== test session starts =============================================================================================== > platform linux2 -- Python 2.7.12, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 > -- /usr/bin/python2 > cachedir: suites/basic/.cache > rootdir: /var/lib/jenkins/jobs/389-DS-COMMIT/workspace/source/ds/dirsrvtests/tests/suites/basic, inifile: > plugins: sourceorder-0.5, multihost-1.0 > collected 23 items > > suites/basic/basic_test.py::test_basic_ops PASSED > suites/basic/basic_test.py::test_basic_import_export PASSED > suites/basic/basic_test.py::test_basic_backup PASSED > suites/basic/basic_test.py::test_basic_acl PASSED > suites/basic/basic_test.py::test_basic_searches PASSED > suites/basic/basic_test.py::test_basic_referrals PASSED > suites/basic/basic_test.py::test_basic_systemctl PASSED > suites/basic/basic_test.py::test_basic_ldapagent FAILED > suites/basic/basic_test.py::test_basic_dse PASSED > suites/basic/basic_test.py::test_def_rootdse_attr[namingContexts] PASSED > suites/basic/basic_test.py::test_def_rootdse_attr[supportedLDAPVersion] > PASSED > suites/basic/basic_test.py::test_def_rootdse_attr[supportedControl] > PASSED > suites/basic/basic_test.py::test_def_rootdse_attr[supportedExtension] > PASSED > suites/basic/basic_test.py::test_def_rootdse_attr[supportedSASLMechanisms] PASSED > suites/basic/basic_test.py::test_def_rootdse_attr[vendorName] PASSED > suites/basic/basic_test.py::test_def_rootdse_attr[vendorVersion] PASSED > suites/basic/basic_test.py::test_mod_def_rootdse_attr[namingContexts] > PASSED > suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedLDAPVersion] PASSED > suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedControl] > PASSED > suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedExtension] PASSED > suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedSASLMechanisms] PASSED > suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorName] PASSED > suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorVersion] > PASSED > > ==================================================================================================== FAILURES ===================================================================================================== > ______________________________________________________________________________________________ test_basic_ldapagent _______________________________________________________________________________________________ > > topology = <suites.basic.basic_test.TopologyStandalone object at > 0x7efff10f69d0>, import_example_ldif = None > > def test_basic_ldapagent(topology, import_example_ldif): > """Test that the ldap agent starts""" > > log.info('Running test_basic_ldapagent...') > > var_dir = topology.standalone.get_local_state_dir() > config_file = > os.path.join(topology.standalone.get_sysconf_dir(), > 'dirsrv/config/agent.conf') > cmd = 'sudo %s %s' % > (os.path.join(topology.standalone.get_sbin_dir(), 'ldap-agent'), > config_file) > > agent_config_file = open(config_file, 'w') > agent_config_file.write('agentx-master ' + var_dir + > '/agentx/master\n') > agent_config_file.write('agent-logdir ' + var_dir + '/log/dirsrv > \n') > agent_config_file.write('server slapd-' + > topology.standalone.serverid + '\n') > agent_config_file.close() > > rc = os.system(cmd) > if rc != 0: > log.fatal('test_basic_ldapagent: Failed to start snmp ldap > agent %s: error %d' % (cmd, rc)) >> assert False > E assert False > > suites/basic/basic_test.py:677: AssertionError > ---------------------------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------------------------- > INFO:suites.basic.basic_test:Running test_basic_ldapagent... > CRITICAL:suites.basic.basic_test:test_basic_ldapagent: Failed to start > snmp ldap agent sudo /usr/sbin/ldap-agent /etc/dirsrv/config/agent.conf: > error 256 Error 256 says command can't locate the binary. I guest 389-ds-base-snmp is not installed on the test machine. > > > -- > Sincerely, > > William Brown > Software Engineer > Red Hat, Brisbane > _______________________________________________ > 389-devel mailing list -- 389-devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to 389-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ 389-devel mailing list -- 389-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx