2025-07-21 12:01:11,967 - INFO - Domain Default found not creating 2025-07-21 12:01:12,351 - INFO - Project ctest-TestDSNAT-94553513 not found, creating it 2025-07-21 12:01:13,257 - INFO - Created Project:ctest-TestDSNAT-94553513, ID : c1e39e3e-7f0c-448a-82fc-f2ee62863883 2025-07-21 12:01:15,330 - INFO - ================================================================================ 2025-07-21 12:01:15,331 - INFO - STARTING TEST : test_dsnat_basic 2025-07-21 12:01:15,331 - INFO - TEST DESCRIPTION : create a VN and enable fabric SNAT launch two VMs in that VN verify ping between the VN and ping to the external IP disable fabric SNAT verify that the ping the external IP fails 2025-07-21 12:01:15,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-21 12:01:15,632 - INFO - Initial checks done. Running the testcase now 2025-07-21 12:01:15,632 - INFO - 2025-07-21 12:01:15,633 - INFO - Create VN, enable FABRIC SNAT and verify its routing instance 2025-07-21 12:01:16,438 - DEBUG - Response for create_network : {'network': {'id': 'fed8a62e-371e-46a4-8def-eec91dfbc068', 'name': 'ctest-dsnat_vn-43660794', 'tenant_id': 'c1e39e3e7f0c448a82fcf2ee62863883', 'project_id': 'c1e39e3e7f0c448a82fcf2ee62863883', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDSNAT-94553513', 'ctest-dsnat_vn-43660794'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:01:16,667 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c68a5a65-001d-4822-87ad-2c78ebc66ee5', 'name': '', 'tenant_id': 'c1e39e3e7f0c448a82fcf2ee62863883', 'network_id': 'fed8a62e-371e-46a4-8def-eec91dfbc068', 'ip_version': 4, 'cidr': '162.28.90.192/26', 'allocation_pools': [{'start': '162.28.90.194', 'end': '162.28.90.254'}], 'gateway_ip': '162.28.90.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.28.90.194', 'tags': [], 'project_id': 'c1e39e3e7f0c448a82fcf2ee62863883'}} 2025-07-21 12:01:16,685 - INFO - Created VN ctest-dsnat_vn-43660794 2025-07-21 12:01:16,741 - DEBUG - VN ctest-dsnat_vn-43660794 UUID is fed8a62e-371e-46a4-8def-eec91dfbc068 2025-07-21 12:01:17,049 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fed8a62e-371e-46a4-8def-eec91dfbc068 2025-07-21 12:01:17,363 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fed8a62e-371e-46a4-8def-eec91dfbc068 2025-07-21 12:01:17,424 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/44cdcc1d-9d5f-4dd9-953f-d3f0079571d4 2025-07-21 12:01:17,737 - DEBUG - Services list from nova: [, , ] 2025-07-21 12:01:17,811 - DEBUG - Image by name ubuntu not found 2025-07-21 12:01:17,812 - DEBUG - Installing image ubuntu 2025-07-21 12:01:17,812 - DEBUG - Image info {'name': 'ubuntu.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd', 'vctmpl': 'ubuntu.vmtx', 'vcname': 'ubuntu-disk1.vmdk'} 2025-07-21 12:01:17,813 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu.vmdk.gz 2025-07-21 12:01:17,819 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu.vmdk.gz 2025-07-21 12:01:17,849 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/converts//ubuntu.vmdk.gz -O /contrail-test/images/ubuntu.vmdk.gz 2025-07-21 12:01:17,895 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu.vmdk.gz 2025-07-21 12:01:17,895 - DEBUG - Unzip image 2025-07-21 12:01:17,896 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-07-21 12:01:17,928 - DEBUG - Try to create image in user context 2025-07-21 12:01:18,095 - INFO - Deleting VN ctest-dsnat_vn-43660794 2025-07-21 12:01:18,258 - DEBUG - Response for deleting network () 2025-07-21 12:01:18,533 - ERROR -
Traceback (most recent call last):
  File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
    result = function(self, *args, **kwargs)
  File "/contrail-test/scripts/dsnat/test_dsnat.py", line 30, in test_dsnat_basic
    image_name='ubuntu')
  File "/contrail-test/common/base.py", line 281, in create_vm
    **kwargs)
  File "/contrail-test/common/base.py", line 254, in create_only_vm
    vm_obj.setUp()
  File "/contrail-test/fixtures/vm_test.py", line 188, in setUp
    self.create()
  File "/contrail-test/fixtures/vm_test.py", line 240, in create
    fixed_ips=self.fixed_ips)
  File "/contrail-test/fixtures/openstack.py", line 118, in create_vm
    return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs)
  File "/contrail-test/fixtures/nova_test.py", line 577, in create_vm
    image = self.get_image(image_name=image_name)
  File "/contrail-test/fixtures/nova_test.py", line 198, in get_image
    self._install_image(image_name=image_name)
  File "/contrail-test/fixtures/nova_test.py", line 338, in _install_image
    return self.copy_and_glance(build_path, image_name, params)
  File "/contrail-test/fixtures/nova_test.py", line 407, in copy_and_glance
    image_id = self.glance_h.create_image(generic_image_name, image_path_real, **params)
  File "/contrail-test/fixtures/glance_test.py", line 50, in create_image
    self.upload_image(obj['id'], filename)
  File "/contrail-test/fixtures/glance_test.py", line 54, in upload_image
    self.obj.images.upload(uuid, open(filename, 'rb'))
FileNotFoundError: [Errno 2] No such file or directory: '/contrail-test/images/ubuntu.vmdk'
2025-07-21 12:01:18,544 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 12:01:18,545 - INFO - 2025-07-21 12:01:18,545 - INFO - END TEST : test_dsnat_basic : FAILED[0:00:03] 2025-07-21 12:01:18,545 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:01:18,556 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3677-1']} 2025-07-21 12:01:19,434 - INFO - Deleted project: ctest-TestDSNAT-94553513, ID : c1e39e3e-7f0c-448a-82fc-f2ee62863883 2025-07-21 14:17:20,248 - INFO - Domain Default found not creating 2025-07-21 14:17:20,466 - INFO - Project ctest-TestDSNAT-38915854 not found, creating it 2025-07-21 14:17:21,110 - INFO - Created Project:ctest-TestDSNAT-38915854, ID : 053da365-6d7f-4585-9223-c030d7fd73cf 2025-07-21 14:17:23,383 - DEBUG - Services list from nova: [, , ] 2025-07-21 14:17:23,384 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3677-1']} 2025-07-21 14:17:24,290 - INFO - Deleted project: ctest-TestDSNAT-38915854, ID : 053da365-6d7f-4585-9223-c030d7fd73cf