On Fri, Aug 26, 2011 at 2:31 PM, Salvatore Orlando <
salvatore.orla...@eu.citrix.com> wrote:

>
>
> Inviato da Samsung Mobile
>
>
> Salvatore Orlando <salvatore.orla...@eu.citrix.com> ha scritto:
>
>
>
> Looking at quantum job configuration it seems unit tests are executed
> without venv. I think we need monty or john's help in order to have cheetah
> on jenkins.
>
> salvatore
>

Thanks for looking into this Salvatore, that was my guess as well.
 Hopefully Joe or Monty can look at this, at some point, but it is not a
blocker as I can manually create a release tarball for now.

Dan


>
> It looks like as it is not downloading Cheetah using pypi: ****
>
> ** **
>
> ======================================================================****
>
> ERROR: Failure: ImportError (No module named Cheetah.Template)****
>
> ----------------------------------------------------------------------****
>
> Traceback (most recent call last):****
>
>   File "/usr/local/lib/python2.7/dist-packages/nose/loader.py", line 390,
> in loadTestsFromName****
>
>     addr.filename, addr.module)****
>
>   File "/usr/local/lib/python2.7/dist-packages/nose/importer.py", line 39,
> in importFromPath****
>
>     return self.importFromDir(dir_path, fqname)****
>
>   File "/usr/local/lib/python2.7/dist-packages/nose/importer.py", line 86,
> in importFromDir****
>
>     mod = load_module(part_fqname, fh, filename, desc)****
>
>   File "/home/jenkins/workspace/quantum/tests/unit/test_cli.py", line 30,
> in <module>****
>
>     from quantum import cli_lib as cli****
>
>   File "/home/jenkins/workspace/quantum/quantum/cli_lib.py", line 22, in
> <module>****
>
>     import Cheetah.Template as cheetah_template****
>
> ImportError: No module named Cheetah.Template****
>
> ** **
>
> Investigating.****
>
> ** **
>
> *From:* netstack-bounces+salvatore.orlando=
> eu.citrix....@lists.launchpad.net [mailto:
> netstack-bounces+salvatore.orlando=eu.citrix....@lists.launchpad.net] *On
> Behalf Of *Dan Wendlandt
> *Sent:* 26 August 2011 21:39
> *To:* Joseph Heck; Monty Taylor
> *Cc:* netstack@lists.launchpad.net
> *Subject:* [Netstack] Fwd: Build failed in Jenkins: quantum #28****
>
> ** **
>
> Looks like builds on jenkins are now failing, due to the new CLI code that
> imports cheetah.  ****
>
> ** **
>
> Cheetah>=2.0.1 was added to the pip-requires, but is something else needed
> for the build server to pick up the new packages?  ****
>
> ** **
>
> Thanks****
>
> ** **
>
> Dan****
>
> ** **
>
> ** **
>
> ---------- Forwarded message ----------
>
>
>
> See <https://jenkins.openstack.org/job/quantum/28/changes>
>
> Changes:
>
> [Dan Wendlandt] merge salvatore's new cli code
>
> ------------------------------------------
> [...truncated 9 lines...]
> info result: bzr revision-info -d <
> https://jenkins.openstack.org/job/quantum/ws/> returned 0. Command output:
> "56 d...@nicira.com-20110826195433-7vf2wiw7uue8n97q
> " stderr: ""
> [quantum] $ bzr log -v -r
> revid:d...@nicira.com-20110826192531-gjacj8i0xnm336lf.
> .revid:d...@nicira.com-20110826195433-7vf2wiw7uue8n97q --long --show-ids
> Getting local revision...
> $ bzr revision-info -d <https://jenkins.openstack.org/job/quantum/ws/>
> info result: bzr revision-info -d <
> https://jenkins.openstack.org/job/quantum/ws/> returned 0. Command output:
> "56 d...@nicira.com-20110826195433-7vf2wiw7uue8n97q
> " stderr: ""
> RevisionState revno:56 revid:d...@nicira.com-20110826195433-7vf2wiw7uue8n97q
> [quantum] $ /bin/sh -xe /tmp/hudson7711742177255578593.sh
> + ./run_tests.sh -N
> APITest
>    test_create_network_badrequest_json                         OK
>    test_create_network_badreqyest_xml                          OK
>    test_create_network_json                                    OK
>    test_create_network_xml                                     OK
>    test_create_port_badrequest_json                            OK
>    test_create_port_badrequest_xml                             OK
>    test_create_port_json                                       OK
>    test_create_port_networknotfound_json                       OK
>    test_create_port_networknotfound_xml                        OK
>    test_create_port_noreqbody_json                             OK
>    test_create_port_noreqbody_xml                              OK
>    test_create_port_xml                                        OK
>    test_delete_attachment_json                                 OK
>    test_delete_attachment_networknotfound_json                 OK
>    test_delete_attachment_networknotfound_xml                  OK
>    test_delete_attachment_portnotfound_json                    OK
>    test_delete_attachment_portnotfound_xml                     OK
>    test_delete_attachment_xml                                  OK
>    test_delete_network_in_use_json                             OK
>    test_delete_network_in_use_xml                              OK
>    test_delete_network_json                                    OK
>    test_delete_network_xml                                     OK
>    test_delete_port_in_use_json                                OK
>    test_delete_port_in_use_xml                                 OK
>    test_delete_port_json                                       OK
>    test_delete_port_networknotfound_json                       OK
>    test_delete_port_networknotfound_xml                        OK
>    test_delete_port_with_bad_id_json                           OK
>    test_delete_port_with_bad_id_xml                            OK
>    test_delete_port_xml                                        OK
>    test_list_networks_detail_json                              OK
>    test_list_networks_detail_xml                               OK
>    test_list_networks_json                                     OK
>    test_list_networks_xml                                      OK
>    test_list_ports_detail_json                                 OK
>    test_list_ports_detail_xml                                  OK
>    test_list_ports_json                                        OK
>    test_list_ports_xml                                         OK
>    test_put_attachment_json                                    OK
>    test_put_attachment_networknotfound_json                    OK
>    test_put_attachment_networknotfound_xml                     OK
>    test_put_attachment_portnotfound_json                       OK
>    test_put_attachment_portnotfound_xml                        OK
>    test_put_attachment_xml                                     OK
>    test_rename_network_badrequest_json                         OK
>    test_rename_network_badrequest_xml                          OK
>    test_rename_network_json                                    OK
>    test_rename_network_not_found_json                          OK
>    test_rename_network_not_found_xml                           OK
>    test_rename_network_xml                                     OK
>    test_set_port_state_json                                    OK
>    test_set_port_state_networknotfound_json                    OK
>    test_set_port_state_networknotfound_xml                     OK
>    test_set_port_state_portnotfound_json                       OK
>    test_set_port_state_portnotfound_xml                        OK
>    test_set_port_state_stateinvalid_json                       OK
>    test_set_port_state_stateinvalid_xml                        OK
>    test_set_port_state_xml                                     OK
>    test_show_attachment_json                                   OK
>    test_show_attachment_networknotfound_json                   OK
>    test_show_attachment_networknotfound_xml                    OK
>    test_show_attachment_portnotfound_json                      OK
>    test_show_attachment_portnotfound_xml                       OK
>    test_show_attachment_xml                                    OK
>    test_show_network_detail_json                               OK
>    test_show_network_detail_xml                                OK
>    test_show_network_json                                      OK
>    test_show_network_not_found_json                            OK
>    test_show_network_not_found_xml                             OK
>    test_show_network_xml                                       OK
>    test_show_port_detail_json                                  OK
>    test_show_port_detail_xml                                   OK
>    test_show_port_json                                         OK
>    test_show_port_networknotfound_json                         OK
>    test_show_port_networknotfound_xml                          OK
>    test_show_port_portnotfound_json                            OK
>    test_show_port_portnotfound_xml                             OK
>    test_show_port_xml                                          OK
>    test_unparsable_data_json                                   OK
>    test_unparsable_data_xml                                    OK
> Failure
>    runTest                                                     ERROR
> APITest
>    test_attach_resource_alt_tenant                             OK
>    test_attach_resource_error_400                              OK
>    test_attach_resource_error_401                              OK
>    test_attach_resource_error_420                              OK
>    test_attach_resource_error_430                              OK
>    test_attach_resource_error_432                              OK
>    test_attach_resource_error_440                              OK
>    test_attach_resource_error_470                              OK
>    test_attach_resource_json                                   OK
>    test_attach_resource_xml                                    OK
>    test_create_network_alt_tenant                              OK
>    test_create_network_error_400                               OK
>    test_create_network_error_401                               OK
>    test_create_network_error_422                               OK
>    test_create_network_error_470                               OK
>    test_create_network_json                                    OK
>    test_create_network_xml                                     OK
>    test_create_port_alt_tenant                                 OK
>    test_create_port_error_400                                  OK
>    test_create_port_error_401                                  OK
>    test_create_port_error_420                                  OK
>    test_create_port_error_430                                  OK
>    test_create_port_error_431                                  OK
>    test_create_port_error_470                                  OK
>    test_create_port_json                                       OK
>    test_create_port_xml                                        OK
>    test_delete_network_alt_tenant                              OK
>    test_delete_network_error_401                               OK
>    test_delete_network_error_420                               OK
>    test_delete_network_error_421                               OK
>    test_delete_network_error_470                               OK
>    test_delete_network_json                                    OK
>    test_delete_network_xml                                     OK
>    test_delete_port_alt_tenant                                 OK
>    test_delete_port_error_401                                  OK
>    test_delete_port_error_420                                  OK
>    test_delete_port_error_430                                  OK
>    test_delete_port_error_432                                  OK
>    test_delete_port_error_470                                  OK
>    test_delete_port_json                                       OK
>    test_delete_port_xml                                        OK
>    test_detach_resource_alt_tenant                             OK
>    test_detach_resource_error_401                              OK
>    test_detach_resource_error_420                              OK
>    test_detach_resource_error_430                              OK
>    test_detach_resource_error_470                              OK
>    test_detach_resource_json                                   OK
>    test_detach_resource_xml                                    OK
>    test_list_networks_alt_tenant                               OK
>    test_list_networks_error_401                                OK
>    test_list_networks_error_470                                OK
>    test_list_networks_json                                     OK
>    test_list_networks_xml                                      OK
>    test_list_ports_alt_tenant                                  OK
>    test_list_ports_error_401                                   OK
>    test_list_ports_error_420                                   OK
>    test_list_ports_error_470                                   OK
>    test_list_ports_json                                        OK
>    test_list_ports_xml                                         OK
>    test_set_port_state_alt_tenant                              OK
>    test_set_port_state_error_400                               OK
>    test_set_port_state_error_401                               OK
>    test_set_port_state_error_420                               OK
>    test_set_port_state_error_430                               OK
>    test_set_port_state_error_431                               OK
>    test_set_port_state_error_470                               OK
>    test_set_port_state_json                                    OK
>    test_set_port_state_xml                                     OK
>    test_show_network_details_alt_tenant                        OK
>    test_show_network_details_error_401                         OK
>    test_show_network_details_error_420                         OK
>    test_show_network_details_error_470                         OK
>    test_show_network_details_json                              OK
>    test_show_network_details_xml                               OK
>    test_show_port_attachment_alt_tenant                        OK
>    test_show_port_attachment_error_400                         OK
>    test_show_port_attachment_error_401                         OK
>    test_show_port_attachment_error_420                         OK
>    test_show_port_attachment_error_430                         OK
>    test_show_port_attachment_error_470                         OK
>    test_show_port_attachment_json                              OK
>    test_show_port_attachment_xml                               OK
>    test_show_port_details_alt_tenant                           OK
>    test_show_port_details_error_401                            OK
>    test_show_port_details_error_420                            OK
>    test_show_port_details_error_430                            OK
>    test_show_port_details_error_470                            OK
>    test_show_port_details_json                                 OK
>    test_show_port_details_xml                                  OK
>    test_ssl_certificates                                       OK
>    test_update_network_alt_tenant                              OK
>    test_update_network_error_400                               OK
>    test_update_network_error_401                               OK
>    test_update_network_error_420                               OK
>    test_update_network_error_422                               OK
>    test_update_network_error_470                               OK
>    test_update_network_json                                    OK
>    test_update_network_xml                                     OK
> ActionExtensionTest
>    test_extended_action_for_adding_extra_data                  OK
>    test_extended_action_for_deleting_extra_data                OK
>    test_returns_404_for_non_existant_action                    OK
>    test_returns_404_for_non_existant_resource                  OK
> ExtensionControllerTest
>    test_extension_can_be_accessed_by_alias                     OK
>    test_index_gets_all_registerd_extensions                    OK
>    test_show_returns_not_found_for_non_existant_extension      OK
> ExtensionManagerTest
>    test_invalid_extensions_are_not_registered                  OK
> PluginAwareExtensionManagerTest
>    test_extensions_are_loaded_for_plugin_with_expected_interfaceOK
>    test_extensions_are_not_loaded_for_plugins_unaware_of_extensionsOK
>    test_extensions_expecting_quantum_plugin_interface_are_loadedOK
>    test_extensions_not_loaded_for_plugin_without_expected_interfaceOK
>    test_extensions_without_need_for__plugin_interface_are_loadedOK
>    test_unsupported_extensions_are_not_loaded                  OK
> RequestExtensionTest
>    test_edit_previously_uneditable_field                       OK
>    test_extend_get_resource_response                           OK
>    test_get_resources                                          OK
>    test_headers_can_be_extended                                OK
> ResourceExtensionTest
>    test_resource_can_be_added_as_extension                     OK
>    test_resource_ext_for_formatted_req_on_custom_collection_actionOK
>    test_resource_ext_for_nested_resource_custom_collection_actionOK
>    test_resource_extension_for_delete_custom_collection_action OK
>    test_resource_extension_for_get_custom_collection_action    OK
>    test_resource_extension_for_post_custom_collection_action   OK
>    test_resource_extension_for_put_custom_collection_action    OK
>    test_resource_extension_with_custom_member_action           OK
>    test_returns_404_for_non_existant_extension                 OK
> FunctionTestCase
>    runTest                                                     OK
>
> ======================================================================
> ERROR: Failure: ImportError (No module named Cheetah.Template)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/local/lib/python2.7/dist-packages/nose/loader.py", line 390, in
> loadTestsFromName
>    addr.filename, addr.module)
>  File "/usr/local/lib/python2.7/dist-packages/nose/importer.py", line 39,
> in importFromPath
>    return self.importFromDir(dir_path, fqname)
>  File "/usr/local/lib/python2.7/dist-packages/nose/importer.py", line 86,
> in importFromDir
>    mod = load_module(part_fqname, fh, filename, desc)
>  File "<
> https://jenkins.openstack.org/job/quantum/ws/tests/unit/test_cli.py";,>
> line 30, in <module>
>    from quantum import cli_lib as cli
>  File "<https://jenkins.openstack.org/job/quantum/ws/quantum/cli_lib.py";,>
> line 22, in <module>
>    import Cheetah.Template as cheetah_template
> ImportError: No module named Cheetah.Template
>
> ----------------------------------------------------------------------
> Ran 207 tests in 2.358s
>
> FAILED (errors=1)
> Build step 'Execute shell' marked build as failure****
>
>
>
> ****
>
> ** **
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dan Wendlandt
> Nicira Networks, Inc.
> www.nicira.com | www.openvswitch.org
> Sr. Product Manager
> cell: 650-906-2650
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~****
>



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira Networks, Inc.
www.nicira.com | www.openvswitch.org
Sr. Product Manager
cell: 650-906-2650
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to