2025-07-23 15:06:22,708 - INFO - Domain Default found not creating
2025-07-23 15:06:22,859 - INFO - Project ctest-TestDSNAT-43168259 not found, creating it
2025-07-23 15:06:23,507 - INFO - Created Project:ctest-TestDSNAT-43168259, ID : 8545daa9-1bbf-45ec-8ca1-97faf20aeb60
2025-07-23 15:06:24,992 - INFO - ================================================================================
2025-07-23 15:06:24,993 - INFO - STARTING TEST : test_dsnat_basic
2025-07-23 15:06:24,993 - 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-23 15:06:26,329 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with
2025-07-23 15:06:26,329 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:06:26,329 - INFO -
2025-07-23 15:06:26,329 - INFO - Create VN, enable FABRIC SNAT and verify its routing instance
2025-07-23 15:06:27,113 - DEBUG - Response for create_network : {'network': {'id': '579069d0-eff2-4f81-a465-db2191a56086', 'name': 'ctest-dsnat_vn-11083321', 'tenant_id': '8545daa91bbf45ec8ca197faf20aeb60', 'project_id': '8545daa91bbf45ec8ca197faf20aeb60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDSNAT-43168259', 'ctest-dsnat_vn-11083321'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:06:27,480 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da6f13ab-33d3-4cc0-8e62-d577cbbdda95', 'name': '', 'tenant_id': '8545daa91bbf45ec8ca197faf20aeb60', 'network_id': '579069d0-eff2-4f81-a465-db2191a56086', 'ip_version': 4, 'cidr': '209.178.172.0/26', 'allocation_pools': [{'start': '209.178.172.2', 'end': '209.178.172.62'}], 'gateway_ip': '209.178.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.178.172.2', 'tags': [], 'project_id': '8545daa91bbf45ec8ca197faf20aeb60'}}
2025-07-23 15:06:27,514 - INFO - Created VN ctest-dsnat_vn-11083321
2025-07-23 15:06:27,533 - DEBUG - VN ctest-dsnat_vn-11083321 UUID is 579069d0-eff2-4f81-a465-db2191a56086
2025-07-23 15:06:27,783 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/579069d0-eff2-4f81-a465-db2191a56086
2025-07-23 15:06:28,115 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/579069d0-eff2-4f81-a465-db2191a56086
2025-07-23 15:06:28,158 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f85ce495-00f0-4201-ae18-aa2d20ec64fc
2025-07-23 15:06:28,295 - DEBUG - Services list from nova: [, , , ]
2025-07-23 15:06:28,319 - DEBUG - Image by name ubuntu not found
2025-07-23 15:06:28,319 - DEBUG - Installing image ubuntu
2025-07-23 15:06:28,319 - 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'}
2025-07-23 15:06:28,320 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu.vmdk.gz
2025-07-23 15:06:28,320 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu.vmdk.gz
2025-07-23 15:06:28,330 - 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-23 15:06:28,368 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu.vmdk.gz
2025-07-23 15:06:28,368 - DEBUG - Unzip image
2025-07-23 15:06:28,368 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz
2025-07-23 15:06:28,379 - DEBUG - Try to create image in user context
2025-07-23 15:06:28,458 - INFO - Deleting VN ctest-dsnat_vn-11083321
2025-07-23 15:06:28,696 - DEBUG - Response for deleting network ()
2025-07-23 15:06:30,011 - 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 580, in create_vm
image = self.get_image(image_name=image_name)
File "/contrail-test/fixtures/nova_test.py", line 199, in get_image
self._install_image(image_name=image_name)
File "/contrail-test/fixtures/nova_test.py", line 339, in _install_image
return self.copy_and_glance(build_path, image_name, params)
File "/contrail-test/fixtures/nova_test.py", line 410, 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-23 15:06:30,033 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:06:30,033 - INFO -
2025-07-23 15:06:30,033 - INFO - END TEST : test_dsnat_basic : FAILED[0:00:06]
2025-07-23 15:06:30,033 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:06:30,037 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3704-2', 'an-jenkins-deploy-platform-ansible-os-3704-1']}
2025-07-23 15:06:30,037 - INFO - ================================================================================
2025-07-23 15:06:30,037 - INFO - STARTING TEST : test_dsnat_bug_1749695
2025-07-23 15:06:30,037 - INFO - TEST DESCRIPTION :
Testcase to verify the bug 1749695
create test VN , associate a policy to allow all traffic between VN and ip fabric
associate the policy to the test VN and fabric VN
set the test VN fabric mode as l3
verify the ping succeeds for intra VN and to the fabric IP
2025-07-23 15:06:31,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with
2025-07-23 15:06:31,412 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:06:31,413 - INFO -
2025-07-23 15:06:31,413 - INFO - Create VN, enable FABRIC SNAT and verify its routing instance
2025-07-23 15:06:31,782 - DEBUG - Response for create_network : {'network': {'id': 'aad4c129-1356-4ea7-89d4-13b17a1dc457', 'name': 'ctest-dsnat_vn-55296425', 'tenant_id': '8545daa91bbf45ec8ca197faf20aeb60', 'project_id': '8545daa91bbf45ec8ca197faf20aeb60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDSNAT-43168259', 'ctest-dsnat_vn-55296425'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:06:32,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d01a16c-fab2-4d24-9fa2-8c5a229c7113', 'name': '', 'tenant_id': '8545daa91bbf45ec8ca197faf20aeb60', 'network_id': 'aad4c129-1356-4ea7-89d4-13b17a1dc457', 'ip_version': 4, 'cidr': '32.168.136.0/26', 'allocation_pools': [{'start': '32.168.136.2', 'end': '32.168.136.62'}], 'gateway_ip': '32.168.136.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.168.136.2', 'tags': [], 'project_id': '8545daa91bbf45ec8ca197faf20aeb60'}}
2025-07-23 15:06:32,124 - INFO - Created VN ctest-dsnat_vn-55296425
2025-07-23 15:06:32,141 - DEBUG - VN ctest-dsnat_vn-55296425 UUID is aad4c129-1356-4ea7-89d4-13b17a1dc457
2025-07-23 15:06:32,415 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/aad4c129-1356-4ea7-89d4-13b17a1dc457
2025-07-23 15:06:32,441 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/821b1dbb-c473-4485-bb3b-148e88d3d972
2025-07-23 15:06:32,675 - DEBUG - Image by name ubuntu-traffic not found
2025-07-23 15:06:32,676 - DEBUG - Installing image ubuntu-traffic
2025-07-23 15:06:32,676 - DEBUG - Image info {'name': 'ubuntu-traffic.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_small', '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': 'ubuntu-traffic-docker', 'vmdk': 'ubuntu-traffic-disk1.vmdk', 'shrinked_vmdk': "'no'"}
2025-07-23 15:06:32,676 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-traffic.vmdk.gz
2025-07-23 15:06:32,676 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-traffic.vmdk.gz
2025-07-23 15:06:32,686 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/converts//ubuntu-traffic.vmdk.gz -O /contrail-test/images/ubuntu-traffic.vmdk.gz
2025-07-23 15:06:37,879 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-traffic.vmdk.gz
2025-07-23 15:06:37,880 - DEBUG - Unzip image
2025-07-23 15:06:37,880 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-traffic.vmdk.gz
2025-07-23 15:06:56,336 - DEBUG - Try to create image in user context
2025-07-23 15:07:06,937 - DEBUG - Image has been created in user context
2025-07-23 15:07:06,937 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-traffic.vmdk
2025-07-23 15:07:07,208 - DEBUG - Downloaded image has been removed
2025-07-23 15:07:07,226 - DEBUG - Uploaded image status = active
2025-07-23 15:07:08,522 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1)
2025-07-23 15:07:09,987 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 15:07:09,988 - INFO - Waiting for VM ctest-TestDSNAT-43168259-36976059 to be up..
2025-07-23 15:07:10,237 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:07:15,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:07:20,499 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:07:25,592 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:07:30,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:07:35,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:07:40,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:07:45,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:07:51,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:07:56,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:08:01,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:08:06,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:08:11,397 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:08:11,397 - INFO - VM name : ctest-TestDSNAT-43168259-36976059
2025-07-23 15:08:11,492 - DEBUG - VM ctest-TestDSNAT-43168259-36976059 ID is 50c12271-2c67-487c-a85c-8ea8d6051b40
2025-07-23 15:08:11,517 - DEBUG - VM ctest-TestDSNAT-43168259-36976059 launched on Node an-jenkins-deploy-platform-ansible-os-3704-1
2025-07-23 15:08:11,606 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/50c12271-2c67-487c-a85c-8ea8d6051b40
2025-07-23 15:08:11,914 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/50c12271-2c67-487c-a85c-8ea8d6051b40
2025-07-23 15:08:11,957 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/aadb4cb0-df47-49c1-8c58-f702fb6531e7
2025-07-23 15:08:15,217 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2025-07-23 15:08:15,217 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 failed!
2025-07-23 15:08:15,234 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425 is 32.168.136.1 and allocation pool is NOT set
2025-07-23 15:08:19,336 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms')
2025-07-23 15:08:19,336 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 failed!
2025-07-23 15:08:19,354 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425 is 32.168.136.1 and allocation pool is NOT set
2025-07-23 15:08:23,438 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2025-07-23 15:08:23,438 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 failed!
2025-07-23 15:08:23,458 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425 is 32.168.136.1 and allocation pool is NOT set
2025-07-23 15:08:27,530 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms')
2025-07-23 15:08:27,530 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 failed!
2025-07-23 15:08:27,546 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425 is 32.168.136.1 and allocation pool is NOT set
2025-07-23 15:08:31,633 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2025-07-23 15:08:31,633 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 failed!
2025-07-23 15:08:31,656 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425 is 32.168.136.1 and allocation pool is NOT set
2025-07-23 15:08:35,758 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms')
2025-07-23 15:08:35,759 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 failed!
2025-07-23 15:08:35,776 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425 is 32.168.136.1 and allocation pool is NOT set
2025-07-23 15:08:39,851 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2025-07-23 15:08:39,851 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 failed!
2025-07-23 15:08:39,870 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425 is 32.168.136.1 and allocation pool is NOT set
2025-07-23 15:08:43,952 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2025-07-23 15:08:43,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 failed!
2025-07-23 15:08:43,980 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425 is 32.168.136.1 and allocation pool is NOT set
2025-07-23 15:08:48,079 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-07-23 15:08:48,080 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 failed!
2025-07-23 15:08:48,099 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425 is 32.168.136.1 and allocation pool is NOT set
2025-07-23 15:08:50,190 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 5.176/6.566/7.957/1.390 ms')
2025-07-23 15:08:50,190 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-36976059 passed
2025-07-23 15:08:50,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:08:50,309 - DEBUG - Waiting to SSH to VM ctest-TestDSNAT-43168259-36976059, IP 32.168.136.3, Port 22
2025-07-23 15:08:50,399 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 15:08:50,492 - DEBUG - VM ctest-TestDSNAT-43168259-36976059 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:08:55,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:08:55,492 - DEBUG - Waiting to SSH to VM ctest-TestDSNAT-43168259-36976059, IP 32.168.136.3, Port 22
2025-07-23 15:08:55,549 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 15:08:55,671 - DEBUG - VM ctest-TestDSNAT-43168259-36976059 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:09:00,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:09:00,672 - DEBUG - Waiting to SSH to VM ctest-TestDSNAT-43168259-36976059, IP 32.168.136.3, Port 22
2025-07-23 15:09:00,761 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 15:09:00,852 - DEBUG - VM ctest-TestDSNAT-43168259-36976059 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:09:05,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:09:05,853 - DEBUG - Waiting to SSH to VM ctest-TestDSNAT-43168259-36976059, IP 32.168.136.3, Port 22
2025-07-23 15:09:05,932 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 15:09:06,048 - DEBUG - VM ctest-TestDSNAT-43168259-36976059 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:09:11,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:09:11,049 - DEBUG - Waiting to SSH to VM ctest-TestDSNAT-43168259-36976059, IP 32.168.136.3, Port 22
2025-07-23 15:09:11,241 - DEBUG - VM ctest-TestDSNAT-43168259-36976059 is ready for SSH connections
2025-07-23 15:09:11,241 - INFO - Waiting for VM ctest-TestDSNAT-43168259-30707880 to be up..
2025-07-23 15:09:11,327 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:09:11,328 - INFO - VM name : ctest-TestDSNAT-43168259-30707880
2025-07-23 15:09:11,411 - DEBUG - VM ctest-TestDSNAT-43168259-30707880 ID is b037b96b-ec67-424c-9beb-2fe2fd983f64
2025-07-23 15:09:11,412 - DEBUG - VM ctest-TestDSNAT-43168259-30707880 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2
2025-07-23 15:09:11,501 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/b037b96b-ec67-424c-9beb-2fe2fd983f64
2025-07-23 15:09:11,513 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/c9e5a6be-efac-45d4-a29b-e92227a8b49a
2025-07-23 15:09:12,725 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=1.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.659 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.659/1.194/1.730/0.535 ms')
2025-07-23 15:09:12,725 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestDSNAT-43168259-30707880 passed
2025-07-23 15:09:12,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:09:12,843 - DEBUG - Waiting to SSH to VM ctest-TestDSNAT-43168259-30707880, IP 32.168.136.4, Port 22
2025-07-23 15:09:13,012 - DEBUG - VM ctest-TestDSNAT-43168259-30707880 is ready for SSH connections
2025-07-23 15:09:13,180 - DEBUG - Fetched VN: default-domain:default-project:ip-fabric(9e0c9a0d-7ba9-4a69-b3e7-0fd1647cada3) with subnets None
2025-07-23 15:09:13,228 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = any, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestDSNAT-43168259:ctest-dsnat_vn-55296425, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:default-project:ip-fabric, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None]
2025-07-23 15:09:13,596 - INFO - Attaching policy ctest-test-dsnat-46043231 to vn ctest-dsnat_vn-55296425
2025-07-23 15:09:14,143 - INFO - Attaching policy ctest-test-dsnat-46043231 to vn ip-fabric
2025-07-23 15:09:14,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:09:14,424 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:09:34,515 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2017ms
2025-07-23 15:09:34,515 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:09:35,516 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:09:35,516 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:09:39,123 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2002ms
2025-07-23 15:09:39,123 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:09:40,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:09:40,124 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:09:43,721 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2009ms
2025-07-23 15:09:43,721 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:09:44,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:09:44,724 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:09:48,289 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2000ms
2025-07-23 15:09:48,290 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:09:49,290 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:09:49,290 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:09:52,898 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2016ms
2025-07-23 15:09:52,898 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:09:53,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:09:53,899 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:09:57,473 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2005ms
2025-07-23 15:09:57,473 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:09:58,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:09:58,474 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:10:01,968 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2016ms
2025-07-23 15:10:01,968 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:10:02,969 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:10:02,969 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:10:06,534 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms
2025-07-23 15:10:06,534 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:10:07,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:10:07,535 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:10:11,099 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms
2025-07-23 15:10:11,099 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:10:12,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:10:12,101 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:10:15,768 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2012ms
2025-07-23 15:10:15,768 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:10:16,769 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 10.20.0.17, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 15:10:16,769 - DEBUG - ping -s 56 -c 3 -W 1 10.20.0.17
2025-07-23 15:10:20,388 - DEBUG - PING 10.20.0.17 (10.20.0.17) 56(84) bytes of data.
--- 10.20.0.17 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2005ms
2025-07-23 15:10:20,388 - WARNING - Ping to IP 10.20.0.17 from VM ctest-TestDSNAT-43168259-36976059 failed
2025-07-23 15:10:20,389 - INFO - Dettaching policy ctest-test-dsnat-46043231 from vn ip-fabric
2025-07-23 15:10:20,563 - INFO - Dettaching policy ctest-test-dsnat-46043231 from vn ctest-dsnat_vn-55296425
2025-07-23 15:10:20,820 - INFO - Deleted policy ctest-test-dsnat-46043231
2025-07-23 15:10:20,820 - INFO - Deleting VM ctest-TestDSNAT-43168259-30707880
2025-07-23 15:10:20,916 - INFO - Deleting VM ctest-TestDSNAT-43168259-36976059
2025-07-23 15:10:20,988 - INFO - Deleting VN ctest-dsnat_vn-55296425
2025-07-23 15:10:21,051 - DEBUG - VN aad4c129-1356-4ea7-89d4-13b17a1dc457 still in use: Unable to complete operation on network aad4c129-1356-4ea7-89d4-13b17a1dc457. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c5a1d20b-08e1-450d-a40a-7c33a6d54f28']
2025-07-23 15:10:21,051 - WARNING - Deleting VN ctest-dsnat_vn-55296425 failed..Will retry
2025-07-23 15:10:23,324 - DEBUG - Response for deleting network ()
2025-07-23 15:10:24,672 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Wed Jul 23 15:10:20 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/dsnat/test_dsnat.py in test_dsnat_bug_1749695(self=)
324 self.attach_policy_to_vn(policy_fix, fabric_vn)
325 assert vm1_fixture.ping_with_certainty(cfgm_ip), (
326 'Ping to external IP failed with allow-any-policy')
327
328 #set VN forwarding mode as l3 and verify
AssertionError: Ping to external IP failed with allow-any-policy
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ('Ping to external IP failed with allow-any-policy',)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
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 326, in test_dsnat_bug_1749695
'Ping to external IP failed with allow-any-policy')
AssertionError: Ping to external IP failed with allow-any-policy
2025-07-23 15:10:24,695 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:10:24,695 - INFO -
2025-07-23 15:10:24,695 - INFO - END TEST : test_dsnat_bug_1749695 : FAILED[0:03:54]
2025-07-23 15:10:24,696 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:10:25,491 - INFO - Deleted project: ctest-TestDSNAT-43168259, ID : 8545daa9-1bbf-45ec-8ca1-97faf20aeb60
2025-07-23 17:37:13,088 - INFO - Domain Default found not creating
2025-07-23 17:37:13,219 - INFO - Project ctest-TestDSNAT-96910716 not found, creating it
2025-07-23 17:37:13,783 - INFO - Created Project:ctest-TestDSNAT-96910716, ID : b5baec8c-9815-4a82-a79c-20de95fb197d
2025-07-23 17:37:15,369 - DEBUG - Services list from nova: [, , , ]
2025-07-23 17:37:15,370 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3704-2', 'an-jenkins-deploy-platform-ansible-os-3704-1']}
2025-07-23 17:37:15,370 - INFO - ================================================================================
2025-07-23 17:37:15,370 - INFO - STARTING TEST : test_dsnat_tcp_basic
2025-07-23 17:37:15,370 - INFO - TEST DESCRIPTION :
Configure TCP port translation pool
send TCP traffic from the VM to the fabric IP
Verify the Port address translation happened and the
port being used in the range of configured
2025-07-23 17:37:16,681 - DEBUG - Skipping xmpp flap check
2025-07-23 17:37:16,682 - INFO - Initial checks done. Running the testcase now
2025-07-23 17:37:16,682 - INFO -
2025-07-23 17:37:17,155 - INFO - Create VN, enable FABRIC SNAT and verify its routing instance
2025-07-23 17:37:17,485 - DEBUG - Response for create_network : {'network': {'id': '75a5579e-8611-4915-971a-5cc1bd1641a1', 'name': 'ctest-dsnat_vn-84235106', 'tenant_id': 'b5baec8c98154a82a79c20de95fb197d', 'project_id': 'b5baec8c98154a82a79c20de95fb197d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDSNAT-96910716', 'ctest-dsnat_vn-84235106'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 17:37:17,796 - DEBUG - Response for create_subnet : {'subnet': {'id': '46f3c5ec-1dd1-489b-8190-68c3a769ac03', 'name': '', 'tenant_id': 'b5baec8c98154a82a79c20de95fb197d', 'network_id': '75a5579e-8611-4915-971a-5cc1bd1641a1', 'ip_version': 4, 'cidr': '89.101.113.0/26', 'allocation_pools': [{'start': '89.101.113.2', 'end': '89.101.113.62'}], 'gateway_ip': '89.101.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.101.113.2', 'tags': [], 'project_id': 'b5baec8c98154a82a79c20de95fb197d'}}
2025-07-23 17:37:17,821 - INFO - Created VN ctest-dsnat_vn-84235106
2025-07-23 17:37:17,835 - DEBUG - VN ctest-dsnat_vn-84235106 UUID is 75a5579e-8611-4915-971a-5cc1bd1641a1
2025-07-23 17:37:18,051 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/75a5579e-8611-4915-971a-5cc1bd1641a1
2025-07-23 17:37:18,346 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/75a5579e-8611-4915-971a-5cc1bd1641a1
2025-07-23 17:37:18,386 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/686e2a23-1f89-4fba-b1ff-bf3aac68ebc8
2025-07-23 17:37:19,597 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1)
2025-07-23 17:37:20,943 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 17:37:20,944 - INFO - Waiting for VM ctest-dsnat-vm1-83777844 to be up..
2025-07-23 17:37:21,035 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 17:37:26,137 - DEBUG - VM is in ACTIVE state now
2025-07-23 17:37:26,137 - INFO - VM name : ctest-dsnat-vm1-83777844
2025-07-23 17:37:26,262 - DEBUG - VM ctest-dsnat-vm1-83777844 ID is e57237b2-97ab-4f43-a395-7166a36a792d
2025-07-23 17:37:26,309 - DEBUG - VM ctest-dsnat-vm1-83777844 launched on Node an-jenkins-deploy-platform-ansible-os-3704-1
2025-07-23 17:37:26,413 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/e57237b2-97ab-4f43-a395-7166a36a792d
2025-07-23 17:37:26,873 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/e57237b2-97ab-4f43-a395-7166a36a792d
2025-07-23 17:37:26,937 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/469cdf69-0c23-4be1-aedf-14cab73d46b6
2025-07-23 17:37:30,183 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2025-07-23 17:37:30,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm1-83777844 failed!
2025-07-23 17:37:30,199 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-96910716:ctest-dsnat_vn-84235106 is 89.101.113.1 and allocation pool is NOT set
2025-07-23 17:37:34,287 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms')
2025-07-23 17:37:34,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm1-83777844 failed!
2025-07-23 17:37:34,303 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-96910716:ctest-dsnat_vn-84235106 is 89.101.113.1 and allocation pool is NOT set
2025-07-23 17:37:38,384 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms')
2025-07-23 17:37:38,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm1-83777844 failed!
2025-07-23 17:37:38,402 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-96910716:ctest-dsnat_vn-84235106 is 89.101.113.1 and allocation pool is NOT set
2025-07-23 17:37:42,476 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2025-07-23 17:37:42,476 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm1-83777844 failed!
2025-07-23 17:37:42,496 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-96910716:ctest-dsnat_vn-84235106 is 89.101.113.1 and allocation pool is NOT set
2025-07-23 17:37:46,574 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2025-07-23 17:37:46,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm1-83777844 failed!
2025-07-23 17:37:46,592 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-96910716:ctest-dsnat_vn-84235106 is 89.101.113.1 and allocation pool is NOT set
2025-07-23 17:37:50,703 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1036ms')
2025-07-23 17:37:50,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm1-83777844 failed!
2025-07-23 17:37:50,718 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-96910716:ctest-dsnat_vn-84235106 is 89.101.113.1 and allocation pool is NOT set
2025-07-23 17:37:54,800 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2025-07-23 17:37:54,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm1-83777844 failed!
2025-07-23 17:37:54,817 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-96910716:ctest-dsnat_vn-84235106 is 89.101.113.1 and allocation pool is NOT set
2025-07-23 17:37:58,891 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2025-07-23 17:37:58,891 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm1-83777844 failed!
2025-07-23 17:37:58,906 - DEBUG - Gateway for vn default-domain:ctest-TestDSNAT-96910716:ctest-dsnat_vn-84235106 is 89.101.113.1 and allocation pool is NOT set
2025-07-23 17:38:00,991 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.39 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.390/5.153/6.917/1.763 ms')
2025-07-23 17:38:00,991 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm1-83777844 passed
2025-07-23 17:38:01,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 17:38:01,071 - DEBUG - Waiting to SSH to VM ctest-dsnat-vm1-83777844, IP 89.101.113.3, Port 22
2025-07-23 17:38:01,151 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 17:38:01,244 - DEBUG - VM ctest-dsnat-vm1-83777844 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 17:38:06,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 17:38:06,245 - DEBUG - Waiting to SSH to VM ctest-dsnat-vm1-83777844, IP 89.101.113.3, Port 22
2025-07-23 17:38:06,334 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 17:38:06,421 - DEBUG - VM ctest-dsnat-vm1-83777844 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 17:38:11,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 17:38:11,422 - DEBUG - Waiting to SSH to VM ctest-dsnat-vm1-83777844, IP 89.101.113.3, Port 22
2025-07-23 17:38:11,503 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 17:38:11,588 - DEBUG - VM ctest-dsnat-vm1-83777844 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 17:38:16,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 17:38:16,589 - DEBUG - Waiting to SSH to VM ctest-dsnat-vm1-83777844, IP 89.101.113.3, Port 22
2025-07-23 17:38:16,657 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 17:38:16,749 - DEBUG - VM ctest-dsnat-vm1-83777844 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 17:38:21,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 17:38:21,750 - DEBUG - Waiting to SSH to VM ctest-dsnat-vm1-83777844, IP 89.101.113.3, Port 22
2025-07-23 17:38:21,940 - DEBUG - VM ctest-dsnat-vm1-83777844 is ready for SSH connections
2025-07-23 17:38:21,940 - INFO - Waiting for VM ctest-dsnat-vm2-22396774 to be up..
2025-07-23 17:38:22,030 - DEBUG - VM is in ACTIVE state now
2025-07-23 17:38:22,030 - INFO - VM name : ctest-dsnat-vm2-22396774
2025-07-23 17:38:22,109 - DEBUG - VM ctest-dsnat-vm2-22396774 ID is 1cf21dbb-f7a2-4944-b156-beecb0ce6a0a
2025-07-23 17:38:22,109 - DEBUG - VM ctest-dsnat-vm2-22396774 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2
2025-07-23 17:38:22,193 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/1cf21dbb-f7a2-4944-b156-beecb0ce6a0a
2025-07-23 17:38:22,206 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/11834af0-94b4-450f-aa86-85ff1fff337b
2025-07-23 17:38:23,371 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.411/3.098/4.786/1.687 ms')
2025-07-23 17:38:23,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-dsnat-vm2-22396774 passed
2025-07-23 17:38:23,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 17:38:23,448 - DEBUG - Waiting to SSH to VM ctest-dsnat-vm2-22396774, IP 89.101.113.4, Port 22
2025-07-23 17:38:23,620 - DEBUG - VM ctest-dsnat-vm2-22396774 is ready for SSH connections
2025-07-23 17:38:23,723 - DEBUG - command output is cat: /tmp/iperf_server_ctest-random-91317674.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
2025-07-23 17:38:23,838 - DEBUG - command output is
2025-07-23 17:38:23,839 - INFO - Starting Iperf3 on ctest-dsnat-vm1-83777844, args: --port 6201 --length 1048576 --time 10
2025-07-23 17:38:23,839 - DEBUG - Iperf3 cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result
2025-07-23 17:38:23,839 - INFO - Excecuting cmds, ['iperf3 -s --port 6201 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result'], on server 10.0.0.130
2025-07-23 17:38:23,935 - DEBUG - command output is ['']
2025-07-23 17:38:23,936 - DEBUG - Running remote_cmd, Cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 17:38:23,936 - DEBUG - nohup iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result & echo $! > /tmp/iperf_client_ctest-random-91317674.pid
2025-07-23 17:38:42,982 - DEBUG - None
2025-07-23 17:38:46,857 - DEBUG - Returns multiple flows, [], matching flow data as list of tuples
2025-07-23 17:38:46,928 - DEBUG - command output is /bin/bash: line 1: kill: (71325) - No such process
2025-07-23 17:38:47,031 - DEBUG - command output is
2025-07-23 17:38:47,031 - INFO - Nat port being used for the flow is []
2025-07-23 17:38:52,100 - DEBUG - command output is /bin/bash: line 1: kill: (71325) - No such process
2025-07-23 17:38:52,203 - DEBUG - command output is
2025-07-23 17:38:52,203 - INFO - Starting Iperf3 on ctest-dsnat-vm1-83777844, args: --port 6201 --length 1048576 --time 10
2025-07-23 17:38:52,204 - DEBUG - Iperf3 cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result
2025-07-23 17:38:52,204 - INFO - Excecuting cmds, ['iperf3 -s --port 6201 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result'], on server 10.0.0.130
2025-07-23 17:38:52,311 - DEBUG - command output is ['']
2025-07-23 17:38:52,311 - DEBUG - Running remote_cmd, Cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 17:38:52,311 - DEBUG - nohup iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result & echo $! > /tmp/iperf_client_ctest-random-91317674.pid
2025-07-23 17:38:52,811 - DEBUG - None
2025-07-23 17:38:56,383 - DEBUG - Returns multiple flows, [], matching flow data as list of tuples
2025-07-23 17:38:56,451 - DEBUG - command output is /bin/bash: line 1: kill: (71441) - No such process
2025-07-23 17:38:56,570 - DEBUG - command output is
2025-07-23 17:38:56,570 - INFO - Nat port being used for the flow is []
2025-07-23 17:39:01,640 - DEBUG - command output is /bin/bash: line 1: kill: (71441) - No such process
2025-07-23 17:39:01,754 - DEBUG - command output is
2025-07-23 17:39:01,754 - INFO - Starting Iperf3 on ctest-dsnat-vm1-83777844, args: --port 6201 --length 1048576 --time 10
2025-07-23 17:39:01,754 - DEBUG - Iperf3 cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result
2025-07-23 17:39:01,754 - INFO - Excecuting cmds, ['iperf3 -s --port 6201 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result'], on server 10.0.0.130
2025-07-23 17:39:01,859 - DEBUG - command output is ['']
2025-07-23 17:39:01,859 - DEBUG - Running remote_cmd, Cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 17:39:01,860 - DEBUG - nohup iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result & echo $! > /tmp/iperf_client_ctest-random-91317674.pid
2025-07-23 17:39:02,332 - DEBUG - None
2025-07-23 17:39:06,031 - DEBUG - Returns multiple flows, [], matching flow data as list of tuples
2025-07-23 17:39:06,099 - DEBUG - command output is /bin/bash: line 1: kill: (71515) - No such process
2025-07-23 17:39:06,204 - DEBUG - command output is
2025-07-23 17:39:06,204 - INFO - Nat port being used for the flow is []
2025-07-23 17:39:11,275 - DEBUG - command output is /bin/bash: line 1: kill: (71515) - No such process
2025-07-23 17:39:11,389 - DEBUG - command output is
2025-07-23 17:39:11,389 - INFO - Starting Iperf3 on ctest-dsnat-vm1-83777844, args: --port 6201 --length 1048576 --time 10
2025-07-23 17:39:11,389 - DEBUG - Iperf3 cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result
2025-07-23 17:39:11,389 - INFO - Excecuting cmds, ['iperf3 -s --port 6201 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result'], on server 10.0.0.130
2025-07-23 17:39:11,499 - DEBUG - command output is ['']
2025-07-23 17:39:11,499 - DEBUG - Running remote_cmd, Cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 17:39:11,499 - DEBUG - nohup iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result & echo $! > /tmp/iperf_client_ctest-random-91317674.pid
2025-07-23 17:39:11,949 - DEBUG - None
2025-07-23 17:39:15,606 - DEBUG - Returns multiple flows, [], matching flow data as list of tuples
2025-07-23 17:39:15,675 - DEBUG - command output is /bin/bash: line 1: kill: (71628) - No such process
2025-07-23 17:39:15,779 - DEBUG - command output is
2025-07-23 17:39:15,779 - INFO - Nat port being used for the flow is []
2025-07-23 17:39:20,847 - DEBUG - command output is /bin/bash: line 1: kill: (71628) - No such process
2025-07-23 17:39:20,953 - DEBUG - command output is
2025-07-23 17:39:20,954 - INFO - Starting Iperf3 on ctest-dsnat-vm1-83777844, args: --port 6201 --length 1048576 --time 10
2025-07-23 17:39:20,954 - DEBUG - Iperf3 cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result
2025-07-23 17:39:20,954 - INFO - Excecuting cmds, ['iperf3 -s --port 6201 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result'], on server 10.0.0.130
2025-07-23 17:39:21,059 - DEBUG - command output is ['']
2025-07-23 17:39:21,059 - DEBUG - Running remote_cmd, Cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 17:39:21,059 - DEBUG - nohup iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result & echo $! > /tmp/iperf_client_ctest-random-91317674.pid
2025-07-23 17:39:21,543 - DEBUG - None
2025-07-23 17:39:25,225 - DEBUG - Returns multiple flows, [], matching flow data as list of tuples
2025-07-23 17:39:25,295 - DEBUG - command output is /bin/bash: line 1: kill: (71706) - No such process
2025-07-23 17:39:25,399 - DEBUG - command output is
2025-07-23 17:39:25,399 - INFO - Nat port being used for the flow is []
2025-07-23 17:39:30,469 - DEBUG - command output is /bin/bash: line 1: kill: (71706) - No such process
2025-07-23 17:39:30,582 - DEBUG - command output is
2025-07-23 17:39:30,582 - INFO - Starting Iperf3 on ctest-dsnat-vm1-83777844, args: --port 6201 --length 1048576 --time 10
2025-07-23 17:39:30,582 - DEBUG - Iperf3 cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result
2025-07-23 17:39:30,582 - INFO - Excecuting cmds, ['iperf3 -s --port 6201 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result'], on server 10.0.0.130
2025-07-23 17:39:30,680 - DEBUG - command output is ['']
2025-07-23 17:39:30,680 - DEBUG - Running remote_cmd, Cmd : iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-23 17:39:30,680 - DEBUG - nohup iperf3 -c 10.20.0.129 --port 6201 --length 1048576 --time 10 1>/tmp/iper3_ctest-random-91317674.log 2>/tmp/iper3_ctest-random-91317674.result & echo $! > /tmp/iperf_client_ctest-random-91317674.pid
2025-07-23 17:39:31,169 - DEBUG - None
2025-07-23 17:39:34,879 - DEBUG - Returns multiple flows, [], matching flow data as list of tuples
2025-07-23 17:39:34,947 - DEBUG - command output is /bin/bash: line 1: kill: (71776) - No such process
2025-07-23 17:39:35,065 - DEBUG - command output is
2025-07-23 17:39:35,065 - INFO - Nat port being used for the flow is []
2025-07-23 17:39:35,168 - DEBUG - command output is /bin/bash: line 1: kill: (71776) - No such process
2025-07-23 17:39:35,286 - DEBUG - command output is
2025-07-23 17:39:35,286 - INFO - Deleting VM ctest-dsnat-vm2-22396774
2025-07-23 17:39:35,353 - INFO - Deleting VM ctest-dsnat-vm1-83777844
2025-07-23 17:39:35,413 - INFO - Deleting VN ctest-dsnat_vn-84235106
2025-07-23 17:39:35,458 - DEBUG - VN 75a5579e-8611-4915-971a-5cc1bd1641a1 still in use: Unable to complete operation on network 75a5579e-8611-4915-971a-5cc1bd1641a1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3a33c8cc-a109-4b3b-8b97-365b592eb855']
2025-07-23 17:39:35,458 - WARNING - Deleting VN ctest-dsnat_vn-84235106 failed..Will retry
2025-07-23 17:39:37,692 - DEBUG - Response for deleting network ()
2025-07-23 17:39:39,009 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Wed Jul 23 17:39:35 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/serial_scripts/dsnat/test_dsnat.py in test_dsnat_tcp_basic(self=)
108 self.iperf = None
109
110 assert self.verify_flow_with_port(vm1_fixture, vm2_fixture, port_range, **traffic)
111
112 @preposttest_wrapper
self =
self.verify_flow_with_port = .deco_retry.....test_dsnat_tcp_basic[sanity] id=0x7f7a9d57b898>>
vm1_fixture =
vm2_fixture =
port_range = [65000, 65001, 65002, 65003, 65004, 65005, 65006, 65007, 65008, 65009]
traffic = {'port': 6201, 'udp': False}
AssertionError:
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ()
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/serial_scripts/dsnat/test_dsnat.py", line 110, in test_dsnat_tcp_basic
assert self.verify_flow_with_port(vm1_fixture, vm2_fixture, port_range, **traffic)
AssertionError
2025-07-23 17:39:39,010 - DEBUG - Skipping xmpp flap check
2025-07-23 17:39:39,010 - INFO -
2025-07-23 17:39:39,010 - INFO - END TEST : test_dsnat_tcp_basic : FAILED[0:02:24]
2025-07-23 17:39:39,010 - INFO - --------------------------------------------------------------------------------
2025-07-23 17:39:39,754 - INFO - Deleted project: ctest-TestDSNAT-96910716, ID : b5baec8c-9815-4a82-a79c-20de95fb197d