2025-07-14 11:21:54,394 - INFO - Domain Default found not creating
2025-07-14 11:21:54,535 - INFO - Project ctest-TestRoutersBasic-50357950 not found, creating it
2025-07-14 11:21:55,021 - INFO - Created Project:ctest-TestRoutersBasic-50357950, ID : ea68f1c8-574b-4203-9ce8-8d1452c3824b
2025-07-14 11:21:56,435 - INFO - ================================================================================
2025-07-14 11:21:56,435 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-14 11:21:56,435 - 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-07-14 11:21:56,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-07-14 11:21:56,692 - INFO - Initial checks done. Running the testcase now
2025-07-14 11:21:56,692 - INFO -
2025-07-14 11:21:57,391 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50357950
2025-07-14 11:21:57,489 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50357950
2025-07-14 11:21:57,809 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50357950', 'default']}
2025-07-14 11:21:58,100 - DEBUG - Response for create_network : {'network': {'id': '3df6bad4-d6e8-4669-a216-07881d3a4515', 'name': 'ctest-vn-45332543', 'tenant_id': 'ea68f1c8574b42039ce88d1452c3824b', 'project_id': 'ea68f1c8574b42039ce88d1452c3824b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50357950', 'ctest-vn-45332543'], 'port_security_enabled': True, 'description': ''}}
2025-07-14 11:21:58,319 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af6e1989-2e79-4706-83ef-ef2371f21d06', 'name': '', 'tenant_id': 'ea68f1c8574b42039ce88d1452c3824b', 'network_id': '3df6bad4-d6e8-4669-a216-07881d3a4515', 'ip_version': 4, 'cidr': '33.160.212.128/26', 'allocation_pools': [{'start': '33.160.212.130', 'end': '33.160.212.190'}], 'gateway_ip': '33.160.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.160.212.130', 'tags': [], 'project_id': 'ea68f1c8574b42039ce88d1452c3824b'}}
2025-07-14 11:21:58,339 - INFO - Created VN ctest-vn-45332543
2025-07-14 11:21:58,393 - DEBUG - VN ctest-vn-45332543 UUID is 3df6bad4-d6e8-4669-a216-07881d3a4515
2025-07-14 11:21:58,724 - DEBUG - Response for create_network : {'network': {'id': 'fd01b7ae-b4ea-4709-a93b-acc8390d00fe', 'name': 'ctest-ext_vn-42209539', 'tenant_id': 'ea68f1c8574b42039ce88d1452c3824b', 'project_id': 'ea68f1c8574b42039ce88d1452c3824b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50357950', 'ctest-ext_vn-42209539'], 'port_security_enabled': True, 'description': ''}}
2025-07-14 11:21:58,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '1793059a-a607-4830-b5e2-4ea526ca66ec', 'name': '', 'tenant_id': 'ea68f1c8574b42039ce88d1452c3824b', 'network_id': 'fd01b7ae-b4ea-4709-a93b-acc8390d00fe', 'ip_version': 4, 'cidr': '51.237.249.128/26', 'allocation_pools': [{'start': '51.237.249.130', 'end': '51.237.249.190'}], 'gateway_ip': '51.237.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.237.249.130', 'tags': [], 'project_id': 'ea68f1c8574b42039ce88d1452c3824b'}}
2025-07-14 11:21:58,919 - INFO - Created VN ctest-ext_vn-42209539
2025-07-14 11:21:58,973 - DEBUG - VN ctest-ext_vn-42209539 UUID is fd01b7ae-b4ea-4709-a93b-acc8390d00fe
2025-07-14 11:21:59,233 - DEBUG - Services list from nova: [, , ]
2025-07-14 11:22:00,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3638-1)
2025-07-14 11:22:01,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3638-1)
2025-07-14 11:22:01,514 - INFO - Setting gateway for router f92c0423-3be7-419e-85eb-3227531f052d to network fd01b7ae-b4ea-4709-a93b-acc8390d00fe
2025-07-14 11:22:01,601 - INFO - Adding interface with subnet_id af6e1989-2e79-4706-83ef-ef2371f21d06, port_id None to router f92c0423-3be7-419e-85eb-3227531f052d
2025-07-14 11:22:01,966 - INFO - Waiting for VM ctest-TestRoutersBasic-50357950-22939414 to be up..
2025-07-14 11:22:02,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-14 11:22:07,246 - DEBUG - VM is in ACTIVE state now
2025-07-14 11:22:07,246 - INFO - VM name : ctest-TestRoutersBasic-50357950-22939414
2025-07-14 11:22:07,323 - DEBUG - VM ctest-TestRoutersBasic-50357950-22939414 ID is d35ae81f-803e-499b-ad83-8c1913635941
2025-07-14 11:22:07,356 - DEBUG - VM ctest-TestRoutersBasic-50357950-22939414 launched on Node cn-jenkins-deploy-platform-ansible-os-3638-1
2025-07-14 11:22:07,433 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d35ae81f-803e-499b-ad83-8c1913635941
2025-07-14 11:22:07,749 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d35ae81f-803e-499b-ad83-8c1913635941
2025-07-14 11:22:07,787 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7dc2dee8-0b9c-4e02-8ae9-9b842e31068e
2025-07-14 11:22:11,047 - 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-14 11:22:11,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50357950-22939414 failed!
2025-07-14 11:22:11,105 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50357950:ctest-vn-45332543 is 33.160.212.129 and allocation pool is NOT set
2025-07-14 11:22:13,170 - 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=3.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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.014/2.245/3.477/1.231 ms')
2025-07-14 11:22:13,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50357950-22939414 passed
2025-07-14 11:22:13,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-14 11:22:13,321 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50357950-22939414, IP 33.160.212.131, Port 22
2025-07-14 11:22:13,472 - DEBUG - VM ctest-TestRoutersBasic-50357950-22939414 is ready for SSH connections
2025-07-14 11:22:13,473 - INFO - Waiting for VM ctest-TestRoutersBasic-50357950-54402930 to be up..
2025-07-14 11:22:13,546 - DEBUG - VM is in ACTIVE state now
2025-07-14 11:22:13,546 - INFO - VM name : ctest-TestRoutersBasic-50357950-54402930
2025-07-14 11:22:13,619 - DEBUG - VM ctest-TestRoutersBasic-50357950-54402930 ID is ff3b08c4-b7f5-4055-a0ae-25f64bc53b5e
2025-07-14 11:22:13,619 - DEBUG - VM ctest-TestRoutersBasic-50357950-54402930 launched on Node cn-jenkins-deploy-platform-ansible-os-3638-1
2025-07-14 11:22:13,696 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ff3b08c4-b7f5-4055-a0ae-25f64bc53b5e
2025-07-14 11:22:13,706 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bb7b697e-a00f-4c4c-9c27-7fcf8a66babe
2025-07-14 11:22:14,963 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/1.653/2.856/1.203 ms')
2025-07-14 11:22:14,964 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50357950-54402930 passed
2025-07-14 11:22:15,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-14 11:22:15,117 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50357950-54402930, IP 51.237.249.131, Port 22
2025-07-14 11:22:15,269 - DEBUG - VM ctest-TestRoutersBasic-50357950-54402930 is ready for SSH connections
2025-07-14 11:22:15,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-14 11:22:15,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.237.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-07-14 11:22:15,269 - DEBUG - ping -s 56 -c 3 -W 1 51.237.249.131
2025-07-14 11:22:19,238 - DEBUG - PING 51.237.249.131 (51.237.249.131): 56 data bytes
64 bytes from 51.237.249.131: seq=0 ttl=62 time=3.994 ms
64 bytes from 51.237.249.131: seq=1 ttl=62 time=0.780 ms
64 bytes from 51.237.249.131: seq=2 ttl=62 time=0.861 ms
--- 51.237.249.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.780/1.878/3.994 ms
2025-07-14 11:22:19,238 - INFO - Ping to IP 51.237.249.131 from VM ctest-TestRoutersBasic-50357950-22939414 passed
2025-07-14 11:22:19,238 - INFO - Deleting interface with subnet_id af6e1989-2e79-4706-83ef-ef2371f21d06, port_id None from router f92c0423-3be7-419e-85eb-3227531f052d
2025-07-14 11:22:19,411 - INFO - Deleting VM ctest-TestRoutersBasic-50357950-54402930
2025-07-14 11:22:19,478 - INFO - Deleting VM ctest-TestRoutersBasic-50357950-22939414
2025-07-14 11:22:19,551 - INFO - Deleting VN ctest-ext_vn-42209539
2025-07-14 11:22:19,615 - DEBUG - VN fd01b7ae-b4ea-4709-a93b-acc8390d00fe still in use: Unable to complete operation on network fd01b7ae-b4ea-4709-a93b-acc8390d00fe. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-47617071-1bb4-481d-94e1-e4ed08e04699']
2025-07-14 11:22:19,615 - WARNING - Deleting VN ctest-ext_vn-42209539 failed..Will retry
2025-07-14 11:22:21,753 - DEBUG - Response for deleting network ()
2025-07-14 11:22:21,753 - INFO - Deleting VN ctest-vn-45332543
2025-07-14 11:22:21,876 - DEBUG - Response for deleting network ()
2025-07-14 11:22:22,135 - DEBUG - No XMPP flaps were noticed during the test
2025-07-14 11:22:22,135 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-14 11:22:22,136 - INFO - --------------------------------------------------------------------------------
2025-07-14 11:22:22,815 - INFO - Deleted project: ctest-TestRoutersBasic-50357950, ID : ea68f1c8-574b-4203-9ce8-8d1452c3824b