2025-05-05 01:56:41,176 - INFO - Reading existing Domain with UUID 61d5f14e-0b5a-4169-8eb2-9811a5380ab2
2025-05-05 01:56:41,188 - INFO - Using existing domain ['admin_domain'](61d5f14e-0b5a-4169-8eb2-9811a5380ab2)
2025-05-05 01:56:41,408 - INFO - Project ctest-TestRoutersBasic-15802837 not found, creating it
2025-05-05 01:56:41,927 - INFO - Created Project:ctest-TestRoutersBasic-15802837, ID : 93769618-3d17-4539-a0cf-03874b808718
2025-05-05 01:56:43,739 - INFO - ================================================================================
2025-05-05 01:56:43,740 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-05 01:56:43,740 - INFO - TEST DESCRIPTION : Create an external network, a router
set router-gateway to external network
launch a private network and attach it to router
validate left vm pinging right vm through Snat
2025-05-05 01:56:44,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with
2025-05-05 01:56:44,135 - INFO - Initial checks done. Running the testcase now
2025-05-05 01:56:44,135 - INFO -
2025-05-05 01:56:45,009 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15802837
2025-05-05 01:56:45,117 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15802837
2025-05-05 01:56:45,453 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-15802837', 'default']}
2025-05-05 01:56:45,983 - DEBUG - Response for create_network : {'network': {'id': '7c17de24-438d-49ab-8958-e2604c564711', 'name': 'ctest-vn-15338050', 'tenant_id': '937696183d174539a0cf03874b808718', 'project_id': '937696183d174539a0cf03874b808718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-15802837', 'ctest-vn-15338050'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-05-05 01:56:46,195 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b01aefb3-170e-48a8-a6ad-404ecc5ef3a3', 'name': '', 'tenant_id': '937696183d174539a0cf03874b808718', 'network_id': '7c17de24-438d-49ab-8958-e2604c564711', 'ip_version': 4, 'cidr': '52.214.94.128/26', 'allocation_pools': [{'start': '52.214.94.130', 'end': '52.214.94.190'}], 'gateway_ip': '52.214.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-05-05T01:56:46.095614', 'updated_at': '2025-05-05T01:56:46.095614', 'dns_server_address': '52.214.94.130', 'tags': [], 'project_id': '937696183d174539a0cf03874b808718'}}
2025-05-05 01:56:46,264 - INFO - Created VN ctest-vn-15338050
2025-05-05 01:56:46,329 - DEBUG - VN ctest-vn-15338050 UUID is 7c17de24-438d-49ab-8958-e2604c564711
2025-05-05 01:56:46,902 - DEBUG - Response for create_network : {'network': {'id': 'ec8b3e8c-bb47-4e7a-8af0-9840722b1f71', 'name': 'ctest-ext_vn-04792830', 'tenant_id': '937696183d174539a0cf03874b808718', 'project_id': '937696183d174539a0cf03874b808718', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-15802837', 'ctest-ext_vn-04792830'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-05-05 01:56:47,123 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee224ac1-1487-4b8d-b09b-3f0e009af33b', 'name': '', 'tenant_id': '937696183d174539a0cf03874b808718', 'network_id': 'ec8b3e8c-bb47-4e7a-8af0-9840722b1f71', 'ip_version': 4, 'cidr': '143.29.208.64/26', 'allocation_pools': [{'start': '143.29.208.66', 'end': '143.29.208.126'}], 'gateway_ip': '143.29.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-05-05T01:56:47.009115', 'updated_at': '2025-05-05T01:56:47.009115', 'dns_server_address': '143.29.208.66', 'tags': [], 'project_id': '937696183d174539a0cf03874b808718'}}
2025-05-05 01:56:47,192 - INFO - Created VN ctest-ext_vn-04792830
2025-05-05 01:56:47,245 - DEBUG - VN ctest-ext_vn-04792830 UUID is ec8b3e8c-bb47-4e7a-8af0-9840722b1f71
2025-05-05 01:56:47,553 - DEBUG - Services list from nova: [, , ]
2025-05-05 01:56:48,711 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-534-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-534-1)
2025-05-05 01:56:50,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-534-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-534-1)
2025-05-05 01:56:50,197 - INFO - Setting gateway for router 22e159a2-cceb-4d65-93eb-3520de5b5fa0 to network ec8b3e8c-bb47-4e7a-8af0-9840722b1f71
2025-05-05 01:56:50,382 - INFO - Adding interface with subnet_id b01aefb3-170e-48a8-a6ad-404ecc5ef3a3, port_id None to router 22e159a2-cceb-4d65-93eb-3520de5b5fa0
2025-05-05 01:56:51,068 - INFO - Waiting for VM ctest-TestRoutersBasic-15802837-21029019 to be up..
2025-05-05 01:56:51,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-05 01:56:56,363 - DEBUG - VM is in ACTIVE state now
2025-05-05 01:56:56,363 - INFO - VM name : ctest-TestRoutersBasic-15802837-21029019
2025-05-05 01:56:56,506 - DEBUG - VM ctest-TestRoutersBasic-15802837-21029019 ID is 6ac04ec4-dbf6-419d-ad28-c50e3a69afae
2025-05-05 01:56:56,537 - DEBUG - VM ctest-TestRoutersBasic-15802837-21029019 launched on Node cn-jenkins-deploy-platform-juju-os-534-1
2025-05-05 01:56:56,692 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/6ac04ec4-dbf6-419d-ad28-c50e3a69afae
2025-05-05 01:56:57,101 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/6ac04ec4-dbf6-419d-ad28-c50e3a69afae
2025-05-05 01:56:57,186 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/fab2ae49-47e6-46e3-994a-7a1b3006219a
2025-05-05 01:57:00,671 - 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-05-05 01:57:00,671 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15802837-21029019 failed!
2025-05-05 01:57:00,733 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-15802837:ctest-vn-15338050 is 52.214.94.129 and allocation pool is NOT set
2025-05-05 01:57:02,819 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.49 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.489/6.861/10.234/3.372 ms')
2025-05-05 01:57:02,819 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15802837-21029019 passed
2025-05-05 01:57:02,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 01:57:02,977 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15802837-21029019, IP 52.214.94.131, Port 22
2025-05-05 01:57:03,064 - DEBUG - Error on ssh to cirros@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-05-05 01:57:03,212 - DEBUG - VM ctest-TestRoutersBasic-15802837-21029019 is NOT ready for SSH connections, VM status: ACTIVE
2025-05-05 01:57:08,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 01:57:08,213 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15802837-21029019, IP 52.214.94.131, Port 22
2025-05-05 01:57:08,427 - DEBUG - VM ctest-TestRoutersBasic-15802837-21029019 is ready for SSH connections
2025-05-05 01:57:08,427 - INFO - Waiting for VM ctest-TestRoutersBasic-15802837-36023894 to be up..
2025-05-05 01:57:08,575 - DEBUG - VM is in ACTIVE state now
2025-05-05 01:57:08,575 - INFO - VM name : ctest-TestRoutersBasic-15802837-36023894
2025-05-05 01:57:08,714 - DEBUG - VM ctest-TestRoutersBasic-15802837-36023894 ID is 90de6a4f-f421-4a71-a892-43439f17f2cd
2025-05-05 01:57:08,714 - DEBUG - VM ctest-TestRoutersBasic-15802837-36023894 launched on Node cn-jenkins-deploy-platform-juju-os-534-1
2025-05-05 01:57:08,855 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/90de6a4f-f421-4a71-a892-43439f17f2cd
2025-05-05 01:57:08,910 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/262add01-a257-40cc-8b06-074eed6f8946
2025-05-05 01:57:10,374 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.507/1.997/3.487/1.490 ms')
2025-05-05 01:57:10,375 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15802837-36023894 passed
2025-05-05 01:57:10,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 01:57:10,556 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15802837-36023894, IP 143.29.208.67, Port 22
2025-05-05 01:57:10,875 - DEBUG - VM ctest-TestRoutersBasic-15802837-36023894 is ready for SSH connections
2025-05-05 01:57:10,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 01:57:10,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.29.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-05-05 01:57:10,875 - DEBUG - ping -s 56 -c 3 -W 1 143.29.208.67
2025-05-05 01:57:15,010 - DEBUG - PING 143.29.208.67 (143.29.208.67): 56 data bytes
64 bytes from 143.29.208.67: seq=0 ttl=62 time=11.120 ms
64 bytes from 143.29.208.67: seq=1 ttl=62 time=1.357 ms
64 bytes from 143.29.208.67: seq=2 ttl=62 time=1.202 ms
--- 143.29.208.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.202/4.559/11.120 ms
2025-05-05 01:57:15,010 - INFO - Ping to IP 143.29.208.67 from VM ctest-TestRoutersBasic-15802837-21029019 passed
2025-05-05 01:57:15,030 - INFO - Deleting interface with subnet_id b01aefb3-170e-48a8-a6ad-404ecc5ef3a3, port_id None from router 22e159a2-cceb-4d65-93eb-3520de5b5fa0
2025-05-05 01:57:16,552 - INFO - Deleting VM ctest-TestRoutersBasic-15802837-36023894
2025-05-05 01:57:16,721 - INFO - Deleting VM ctest-TestRoutersBasic-15802837-21029019
2025-05-05 01:57:16,952 - INFO - Deleting VN ctest-ext_vn-04792830
2025-05-05 01:57:17,389 - DEBUG - VN ec8b3e8c-bb47-4e7a-8af0-9840722b1f71 still in use: Unable to complete operation on network ec8b3e8c-bb47-4e7a-8af0-9840722b1f71. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f2b3c8f0-350d-4fee-b24c-188507f68744']
2025-05-05 01:57:17,389 - WARNING - Deleting VN ctest-ext_vn-04792830 failed..Will retry
2025-05-05 01:57:19,763 - DEBUG - Response for deleting network ()
2025-05-05 01:57:19,763 - INFO - Deleting VN ctest-vn-15338050
2025-05-05 01:57:20,074 - DEBUG - Response for deleting network ()
2025-05-05 01:57:20,485 - DEBUG - No XMPP flaps were noticed during the test
2025-05-05 01:57:20,485 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:37]
2025-05-05 01:57:20,485 - INFO - --------------------------------------------------------------------------------
2025-05-05 01:57:21,452 - INFO - Deleted project: ctest-TestRoutersBasic-15802837, ID : 93769618-3d17-4539-a0cf-03874b808718