2025-08-13 15:40:44,887 - INFO - Domain Default found not creating
2025-08-13 15:40:45,020 - INFO - Project ctest-TestRoutersBasic-86412913 not found, creating it
2025-08-13 15:40:45,461 - INFO - Created Project:ctest-TestRoutersBasic-86412913, ID : 82235e22-24db-48ca-abc9-0474923b7b9d
2025-08-13 15:40:46,821 - INFO - ================================================================================
2025-08-13 15:40:46,822 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-13 15:40:46,822 - 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-08-13 15:40:47,077 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2025-08-13 15:40:47,077 - INFO - Initial checks done. Running the testcase now
2025-08-13 15:40:47,077 - INFO -
2025-08-13 15:40:47,753 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86412913
2025-08-13 15:40:47,848 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86412913
2025-08-13 15:40:48,167 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86412913', 'default']}
2025-08-13 15:40:48,455 - DEBUG - Response for create_network : {'network': {'id': '4e2d79f5-0155-40fd-b179-6dfa5d266a03', 'name': 'ctest-vn-92825105', 'tenant_id': '82235e2224db48caabc90474923b7b9d', 'project_id': '82235e2224db48caabc90474923b7b9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86412913', 'ctest-vn-92825105'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 15:40:48,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '078b3f3f-10fd-49bd-94a3-6bbacda573de', 'name': '', 'tenant_id': '82235e2224db48caabc90474923b7b9d', 'network_id': '4e2d79f5-0155-40fd-b179-6dfa5d266a03', 'ip_version': 4, 'cidr': '1.161.162.64/26', 'allocation_pools': [{'start': '1.161.162.66', 'end': '1.161.162.126'}], 'gateway_ip': '1.161.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.161.162.66', 'tags': [], 'project_id': '82235e2224db48caabc90474923b7b9d'}}
2025-08-13 15:40:48,674 - INFO - Created VN ctest-vn-92825105
2025-08-13 15:40:48,723 - DEBUG - VN ctest-vn-92825105 UUID is 4e2d79f5-0155-40fd-b179-6dfa5d266a03
2025-08-13 15:40:49,037 - DEBUG - Response for create_network : {'network': {'id': 'b63a5589-8d79-4c03-89c8-01bc9a580a7b', 'name': 'ctest-ext_vn-43596968', 'tenant_id': '82235e2224db48caabc90474923b7b9d', 'project_id': '82235e2224db48caabc90474923b7b9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86412913', 'ctest-ext_vn-43596968'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 15:40:49,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '237a759f-f837-4638-9c78-fc1d5aa00e45', 'name': '', 'tenant_id': '82235e2224db48caabc90474923b7b9d', 'network_id': 'b63a5589-8d79-4c03-89c8-01bc9a580a7b', 'ip_version': 4, 'cidr': '114.188.213.128/26', 'allocation_pools': [{'start': '114.188.213.130', 'end': '114.188.213.190'}], 'gateway_ip': '114.188.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.188.213.130', 'tags': [], 'project_id': '82235e2224db48caabc90474923b7b9d'}}
2025-08-13 15:40:49,250 - INFO - Created VN ctest-ext_vn-43596968
2025-08-13 15:40:49,303 - DEBUG - VN ctest-ext_vn-43596968 UUID is b63a5589-8d79-4c03-89c8-01bc9a580a7b
2025-08-13 15:40:49,493 - DEBUG - Services list from nova: [, , ]
2025-08-13 15:40:50,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3841-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3841-1)
2025-08-13 15:40:51,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3841-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3841-1)
2025-08-13 15:40:51,604 - INFO - Setting gateway for router 101d914c-44dc-46a1-9b4e-b3ebf971d34a to network b63a5589-8d79-4c03-89c8-01bc9a580a7b
2025-08-13 15:40:51,673 - INFO - Adding interface with subnet_id 078b3f3f-10fd-49bd-94a3-6bbacda573de, port_id None to router 101d914c-44dc-46a1-9b4e-b3ebf971d34a
2025-08-13 15:40:52,065 - INFO - Waiting for VM ctest-TestRoutersBasic-86412913-31916937 to be up..
2025-08-13 15:40:52,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-13 15:40:57,279 - DEBUG - VM is in ACTIVE state now
2025-08-13 15:40:57,279 - INFO - VM name : ctest-TestRoutersBasic-86412913-31916937
2025-08-13 15:40:57,341 - DEBUG - VM ctest-TestRoutersBasic-86412913-31916937 ID is c077c573-ea2e-42ec-a43d-2016f3e5d2ed
2025-08-13 15:40:57,358 - DEBUG - VM ctest-TestRoutersBasic-86412913-31916937 launched on Node cn-jenkins-deploy-platform-ansible-os-3841-1
2025-08-13 15:40:57,423 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c077c573-ea2e-42ec-a43d-2016f3e5d2ed
2025-08-13 15:40:57,711 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c077c573-ea2e-42ec-a43d-2016f3e5d2ed
2025-08-13 15:40:57,739 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ab227dad-48a0-4def-837e-83c64e65f70f
2025-08-13 15:41:01,003 - 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-08-13 15:41:01,003 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86412913-31916937 failed!
2025-08-13 15:41:01,055 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86412913:ctest-vn-92825105 is 1.161.162.65 and allocation pool is NOT set
2025-08-13 15:41:03,118 - 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=2.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.535/2.665/1.130 ms')
2025-08-13 15:41:03,118 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86412913-31916937 passed
2025-08-13 15:41:03,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 15:41:03,272 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86412913-31916937, IP 1.161.162.67, Port 22
2025-08-13 15:41:03,427 - DEBUG - VM ctest-TestRoutersBasic-86412913-31916937 is ready for SSH connections
2025-08-13 15:41:03,427 - INFO - Waiting for VM ctest-TestRoutersBasic-86412913-98523685 to be up..
2025-08-13 15:41:03,502 - DEBUG - VM is in ACTIVE state now
2025-08-13 15:41:03,502 - INFO - VM name : ctest-TestRoutersBasic-86412913-98523685
2025-08-13 15:41:03,569 - DEBUG - VM ctest-TestRoutersBasic-86412913-98523685 ID is e61f251b-52de-4b83-a590-5b76d8fe810a
2025-08-13 15:41:03,570 - DEBUG - VM ctest-TestRoutersBasic-86412913-98523685 launched on Node cn-jenkins-deploy-platform-ansible-os-3841-1
2025-08-13 15:41:03,643 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e61f251b-52de-4b83-a590-5b76d8fe810a
2025-08-13 15:41:03,652 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8bd70f68-454c-4bbc-89d1-4798d7c38e08
2025-08-13 15:41:04,898 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.435/1.900/3.366/1.465 ms')
2025-08-13 15:41:04,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86412913-98523685 passed
2025-08-13 15:41:05,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 15:41:05,052 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86412913-98523685, IP 114.188.213.131, Port 22
2025-08-13 15:41:05,207 - DEBUG - VM ctest-TestRoutersBasic-86412913-98523685 is ready for SSH connections
2025-08-13 15:41:05,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 15:41:05,207 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.188.213.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-08-13 15:41:05,208 - DEBUG - ping -s 56 -c 3 -W 1 114.188.213.131
2025-08-13 15:41:08,863 - DEBUG - PING 114.188.213.131 (114.188.213.131): 56 data bytes
64 bytes from 114.188.213.131: seq=0 ttl=62 time=6.961 ms
64 bytes from 114.188.213.131: seq=1 ttl=62 time=0.836 ms
64 bytes from 114.188.213.131: seq=2 ttl=62 time=0.900 ms
--- 114.188.213.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.836/2.899/6.961 ms
2025-08-13 15:41:08,863 - INFO - Ping to IP 114.188.213.131 from VM ctest-TestRoutersBasic-86412913-31916937 passed
2025-08-13 15:41:08,863 - INFO - Deleting interface with subnet_id 078b3f3f-10fd-49bd-94a3-6bbacda573de, port_id None from router 101d914c-44dc-46a1-9b4e-b3ebf971d34a
2025-08-13 15:41:09,048 - INFO - Deleting VM ctest-TestRoutersBasic-86412913-98523685
2025-08-13 15:41:09,109 - INFO - Deleting VM ctest-TestRoutersBasic-86412913-31916937
2025-08-13 15:41:09,190 - INFO - Deleting VN ctest-ext_vn-43596968
2025-08-13 15:41:09,269 - DEBUG - VN b63a5589-8d79-4c03-89c8-01bc9a580a7b still in use: Unable to complete operation on network b63a5589-8d79-4c03-89c8-01bc9a580a7b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-18939718-d094-4420-96c5-11687ef4774c']
2025-08-13 15:41:09,269 - WARNING - Deleting VN ctest-ext_vn-43596968 failed..Will retry
2025-08-13 15:41:11,391 - DEBUG - Response for deleting network ()
2025-08-13 15:41:11,391 - INFO - Deleting VN ctest-vn-92825105
2025-08-13 15:41:11,537 - DEBUG - Response for deleting network ()
2025-08-13 15:41:11,792 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 15:41:11,792 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-13 15:41:11,792 - INFO - --------------------------------------------------------------------------------
2025-08-13 15:41:12,451 - INFO - Deleted project: ctest-TestRoutersBasic-86412913, ID : 82235e22-24db-48ca-abc9-0474923b7b9d