<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div>Thanks for the feedback, Bryan. Glad you got things working!</div></div><div><br></div><div>1. The instructions asking to install those packages are missing from kilo (we’ll fix that), but they have been there since liberty. Was it perhaps unclear because the line is too long?</div><div><ul style="box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; background-color: rgb(255, 255, 255);"><li style="box-sizing: border-box;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">Additionally:</p><pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 14px; margin-top: 0px; margin-bottom: 16px; line-height: 1.45; padding: 16px; background-color: rgb(247, 247, 247); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal;">$ sudo apt-get install git gcc python-dev libxml2 libxslt1-dev libzip-dev mysql-server python-mysqldb build-essential libssl-dev libffi-dev</pre></li></ul></div><div>2. Tempest should not be required by the tox tests.</div><div><br></div><div>Thanks!</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Bryan Sullivan <<a href="mailto:blsaws@hotmail.com">blsaws@hotmail.com</a>><br><span style="font-weight:bold">Reply-To: </span> "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Date: </span> Thursday, April 7, 2016 at 4:29 PM<br><span style="font-weight:bold">To: </span> "<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [openstack-dev] [Congress] Issues with Tox testing<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style><div class="hmmessage"><div dir="ltr"><font style="" color="#000000" face="Courier New,sans-serif">An update: I found that there were two dependencies needed that were not clear in the guide at <a href="https://github.com/openstack/congress." target="_blank">https://github.com/openstack/congress.</a> I also installed Tempest which was not referenced before. If these additions are correct (they worked for me), they should be added to <a href="https://github.com/openstack/congress/blob/master/README.rst">https://github.com/openstack/congress/blob/master/README.rst</a>.<br><br>$ sudo apt-get install libffi-dev libssl-dev<br>$ cd ~/git<br>$ git clone <a href="https://github.com/openstack/tempest/">https://github.com/openstack/tempest/</a><br>$ cd tempest<br>$ ~/git/congress/bin/pip install -r requirements.txt<br>$ ~/git/congress/bin/pip install .<br><br>(not sure if both pip commands are needed - I'm not an expert on pip install)<br><br>After that, "tox -epy27" ran thru fine:<br><br>-------------------------------------------------------------------------------------------------------  -----------<br>congress.tests.policy_engines.test_vmplacement.TestComputeVmAssignment.test_set_policy_with_dashes       27.623<br>congress.tests.policy_engines.test_vmplacement.TestComputeVmAssignment.test_set_policy                   27.212<br>congress.tests.policy_engines.test_agnostic_performance.TestRuntimePerformance.test_simulate_latency      1.325<br>congress.tests.dse.test_dse.TestDSE.test_policy_tables                                                    1.229<br>congress.tests.policy_engines.test_agnostic_performance.TestRuntimePerformance.test_select_100matches     1.184<br>congress.tests.test_congress.TestCongress.test_policy_execute                                             1.127<br>congress.tests.test_congress.TestCongress.test_datasource_api_model_execute                               1.067<br>congress.tests.policy_engines.test_agnostic_performance.TestRuntimePerformance.test_update_nonrecursive   0.967<br>congress.tests.dse.test_dse.TestDSE.test_policy_table_publish                                             0.681<br>congress.tests.datasources.test_neutron_driver.TestDataSourceDriver.test_poll_subscribe                   0.671<br>______________________________________________________________ summary _______________________________________________________________<br>  py27: commands succeeded<br>  congratulations :)<br><br id="FontBreak"></font><br><br>Thanks,<br>Bryan Sullivan<br><br><div><hr id="stopSpelling">From: <a href="mailto:blsaws@hotmail.com">blsaws@hotmail.com</a><br>To: <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><br>Date: Thu, 7 Apr 2016 11:16:48 -0700<br>Subject: [openstack-dev] [Congress] Issues with Tox testing<br><br><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style><div dir="ltr"><font style="" color="#000000" face="Courier New,sans-serif">Hi Congress team, <br><br>A question for tox testing expert on the Congress team. I'm trying to run the tox tests as described at <a href="https://github.com/openstack/congress" target="_blank">https://github.com/openstack/congress</a>, specifically the two commands:<br><br></font>$ sudo pip install 'tox<1.7'

$ tox -epy27 <br><br><br><br>Due to conflicts with the OS-owned python config, I run these under my virtualenv created in the congress repo as:<br>$ cd ~/git/congress<br>$ bin/pip  install 'tox<1.7'<br>$ bin/tox -epy27<br><br><br>But in any event (whether I try to run the tox within the virtualenv or not), I get errors such as:<br>  c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory<br><br><br><br>What's missing in the setup for running these tests? <br><br><br><br>Note that I have all the config needed to run bash/CLI-based test scripts such as <a href="https://git.opnfv.org/cgit/copper/tree/tests/adhoc/dmz01.sh" target="_blank">https://git.opnfv.org/cgit/copper/tree/tests/adhoc/dmz01.sh</a> <br><br><br><br>Thanks,<br>Bryan Sullivan                                       </div><br>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div>                                       </div></div></div>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</blockquote></span></body></html>