2025-01-13 11:29:04,008 - INFO - Domain Default found not creating
2025-01-13 11:29:04,167 - INFO - Project ctest-TestRoutersBasic-66860653 not found, creating it
2025-01-13 11:29:04,704 - INFO - Created Project:ctest-TestRoutersBasic-66860653, ID : f3b62b3b-0fad-4ec8-b336-22b0fca75021
2025-01-13 11:29:06,162 - INFO - ================================================================================
2025-01-13 11:29:06,162 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-13 11:29:06,162 - 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-01-13 11:29:06,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.14': '0'}} with
2025-01-13 11:29:06,424 - INFO - Initial checks done. Running the testcase now
2025-01-13 11:29:06,424 - INFO -
2025-01-13 11:29:07,155 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66860653
2025-01-13 11:29:07,249 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66860653
2025-01-13 11:29:07,581 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66860653', 'default']}
2025-01-13 11:29:07,899 - DEBUG - Response for create_network : {'network': {'id': '72c604d6-12e5-4d24-bef6-847e19550da7', 'name': 'ctest-vn-21371664', 'tenant_id': 'f3b62b3b0fad4ec8b33622b0fca75021', 'project_id': 'f3b62b3b0fad4ec8b33622b0fca75021', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66860653', 'ctest-vn-21371664'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 11:29:08,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '71b1a00f-8dee-4304-bff0-8224fbe65fff', 'name': '', 'tenant_id': 'f3b62b3b0fad4ec8b33622b0fca75021', 'network_id': '72c604d6-12e5-4d24-bef6-847e19550da7', 'ip_version': 4, 'cidr': '158.24.73.192/26', 'allocation_pools': [{'start': '158.24.73.194', 'end': '158.24.73.254'}], 'gateway_ip': '158.24.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.24.73.194', 'tags': [], 'project_id': 'f3b62b3b0fad4ec8b33622b0fca75021'}}
2025-01-13 11:29:08,152 - INFO - Created VN ctest-vn-21371664
2025-01-13 11:29:08,205 - DEBUG - VN ctest-vn-21371664 UUID is 72c604d6-12e5-4d24-bef6-847e19550da7
2025-01-13 11:29:08,579 - DEBUG - Response for create_network : {'network': {'id': '60508866-f76a-4d5b-a128-e58c521e523b', 'name': 'ctest-ext_vn-55536131', 'tenant_id': 'f3b62b3b0fad4ec8b33622b0fca75021', 'project_id': 'f3b62b3b0fad4ec8b33622b0fca75021', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66860653', 'ctest-ext_vn-55536131'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 11:29:08,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cfc0606-adc9-4b45-b9c9-32ab6c56f31a', 'name': '', 'tenant_id': 'f3b62b3b0fad4ec8b33622b0fca75021', 'network_id': '60508866-f76a-4d5b-a128-e58c521e523b', 'ip_version': 4, 'cidr': '103.195.220.64/26', 'allocation_pools': [{'start': '103.195.220.66', 'end': '103.195.220.126'}], 'gateway_ip': '103.195.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.195.220.66', 'tags': [], 'project_id': 'f3b62b3b0fad4ec8b33622b0fca75021'}}
2025-01-13 11:29:08,782 - INFO - Created VN ctest-ext_vn-55536131
2025-01-13 11:29:08,837 - DEBUG - VN ctest-ext_vn-55536131 UUID is 60508866-f76a-4d5b-a128-e58c521e523b
2025-01-13 11:29:09,036 - DEBUG - Services list from nova: [, , ]
2025-01-13 11:29:10,082 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2610-1)
2025-01-13 11:29:11,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2610-1)
2025-01-13 11:29:11,392 - INFO - Setting gateway for router cdf56051-49e2-41bb-b2bb-e50d5cf36509 to network 60508866-f76a-4d5b-a128-e58c521e523b
2025-01-13 11:29:11,466 - INFO - Adding interface with subnet_id 71b1a00f-8dee-4304-bff0-8224fbe65fff, port_id None to router cdf56051-49e2-41bb-b2bb-e50d5cf36509
2025-01-13 11:29:11,883 - INFO - Waiting for VM ctest-TestRoutersBasic-66860653-59510668 to be up..
2025-01-13 11:29:12,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 11:29:17,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 11:29:22,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 11:29:27,286 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 11:29:32,366 - DEBUG - VM is in ACTIVE state now
2025-01-13 11:29:32,366 - INFO - VM name : ctest-TestRoutersBasic-66860653-59510668
2025-01-13 11:29:32,441 - DEBUG - VM ctest-TestRoutersBasic-66860653-59510668 ID is 3ff9c80c-3043-4b7d-9dc7-c38c7bd3081b
2025-01-13 11:29:32,459 - DEBUG - VM ctest-TestRoutersBasic-66860653-59510668 launched on Node cn-jenkins-deploy-platform-ansible-os-2610-1
2025-01-13 11:29:32,539 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/3ff9c80c-3043-4b7d-9dc7-c38c7bd3081b
2025-01-13 11:29:32,832 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/3ff9c80c-3043-4b7d-9dc7-c38c7bd3081b
2025-01-13 11:29:32,865 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/0b04aacb-f57c-45b4-a013-8dcbacb20881
2025-01-13 11:29:36,110 - 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-01-13 11:29:36,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66860653-59510668 failed!
2025-01-13 11:29:36,165 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66860653:ctest-vn-21371664 is 158.24.73.193 and allocation pool is NOT set
2025-01-13 11:29:38,229 - 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.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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 = 1.840/6.051/10.263/4.211 ms')
2025-01-13 11:29:38,229 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66860653-59510668 passed
2025-01-13 11:29:38,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 11:29:38,386 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66860653-59510668, IP 158.24.73.195, Port 22
2025-01-13 11:29:38,555 - DEBUG - VM ctest-TestRoutersBasic-66860653-59510668 is ready for SSH connections
2025-01-13 11:29:38,555 - INFO - Waiting for VM ctest-TestRoutersBasic-66860653-17271867 to be up..
2025-01-13 11:29:38,646 - DEBUG - VM is in ACTIVE state now
2025-01-13 11:29:38,647 - INFO - VM name : ctest-TestRoutersBasic-66860653-17271867
2025-01-13 11:29:38,730 - DEBUG - VM ctest-TestRoutersBasic-66860653-17271867 ID is c6d684ba-0ac0-4c11-9f78-9e8c32a56633
2025-01-13 11:29:38,731 - DEBUG - VM ctest-TestRoutersBasic-66860653-17271867 launched on Node cn-jenkins-deploy-platform-ansible-os-2610-1
2025-01-13 11:29:38,829 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/c6d684ba-0ac0-4c11-9f78-9e8c32a56633
2025-01-13 11:29:38,838 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/24f459c7-6063-4f30-8ed7-dd9823418abe
2025-01-13 11:29:40,094 - 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=7.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.029/4.324/7.619/3.295 ms')
2025-01-13 11:29:40,094 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66860653-17271867 passed
2025-01-13 11:29:40,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 11:29:40,253 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66860653-17271867, IP 103.195.220.67, Port 22
2025-01-13 11:29:40,408 - DEBUG - VM ctest-TestRoutersBasic-66860653-17271867 is ready for SSH connections
2025-01-13 11:29:40,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 11:29:40,408 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.195.220.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2025-01-13 11:29:40,408 - DEBUG - ping -s 56 -c 3 -W 1 103.195.220.67
2025-01-13 11:29:44,103 - DEBUG - PING 103.195.220.67 (103.195.220.67): 56 data bytes
64 bytes from 103.195.220.67: seq=0 ttl=62 time=8.898 ms
64 bytes from 103.195.220.67: seq=1 ttl=62 time=1.115 ms
64 bytes from 103.195.220.67: seq=2 ttl=62 time=1.328 ms
--- 103.195.220.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.115/3.780/8.898 ms
2025-01-13 11:29:44,103 - INFO - Ping to IP 103.195.220.67 from VM ctest-TestRoutersBasic-66860653-59510668 passed
2025-01-13 11:29:44,104 - INFO - Deleting interface with subnet_id 71b1a00f-8dee-4304-bff0-8224fbe65fff, port_id None from router cdf56051-49e2-41bb-b2bb-e50d5cf36509
2025-01-13 11:29:44,307 - INFO - Deleting VM ctest-TestRoutersBasic-66860653-17271867
2025-01-13 11:29:44,374 - INFO - Deleting VM ctest-TestRoutersBasic-66860653-59510668
2025-01-13 11:29:44,458 - INFO - Deleting VN ctest-ext_vn-55536131
2025-01-13 11:29:44,560 - DEBUG - VN 60508866-f76a-4d5b-a128-e58c521e523b still in use: Unable to complete operation on network 60508866-f76a-4d5b-a128-e58c521e523b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-921b019c-4877-401e-818b-5d81066b98e4']
2025-01-13 11:29:44,560 - WARNING - Deleting VN ctest-ext_vn-55536131 failed..Will retry
2025-01-13 11:29:46,671 - DEBUG - Response for deleting network ()
2025-01-13 11:29:46,671 - INFO - Deleting VN ctest-vn-21371664
2025-01-13 11:29:46,787 - DEBUG - Response for deleting network ()
2025-01-13 11:29:47,058 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 11:29:47,058 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:41]
2025-01-13 11:29:47,058 - INFO - --------------------------------------------------------------------------------
2025-01-13 11:29:47,735 - INFO - Deleted project: ctest-TestRoutersBasic-66860653, ID : f3b62b3b-0fad-4ec8-b336-22b0fca75021