2025-09-11 06:39:18,143 - INFO - Domain Default found not creating
2025-09-11 06:39:18,274 - INFO - Project ctest-TestRoutersBasic-02486775 not found, creating it
2025-09-11 06:39:18,707 - INFO - Created Project:ctest-TestRoutersBasic-02486775, ID : 466260a0-355b-4d24-af83-b9571a0825e5
2025-09-11 06:39:20,081 - INFO - ================================================================================
2025-09-11 06:39:20,081 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-11 06:39:20,081 - 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-09-11 06:39:20,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-11 06:39:20,333 - INFO - Initial checks done. Running the testcase now
2025-09-11 06:39:20,333 - INFO -
2025-09-11 06:39:21,035 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02486775
2025-09-11 06:39:21,132 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02486775
2025-09-11 06:39:21,456 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02486775', 'default']}
2025-09-11 06:39:21,725 - DEBUG - Response for create_network : {'network': {'id': 'f743242b-f952-455a-a506-9fe991f5db81', 'name': 'ctest-vn-89898866', 'tenant_id': '466260a0355b4d24af83b9571a0825e5', 'project_id': '466260a0355b4d24af83b9571a0825e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02486775', 'ctest-vn-89898866'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 06:39:21,894 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baabf949-5fd7-4daf-8cf6-d7f58b5e162c', 'name': '', 'tenant_id': '466260a0355b4d24af83b9571a0825e5', 'network_id': 'f743242b-f952-455a-a506-9fe991f5db81', 'ip_version': 4, 'cidr': '166.149.45.0/26', 'allocation_pools': [{'start': '166.149.45.2', 'end': '166.149.45.62'}], 'gateway_ip': '166.149.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.149.45.2', 'tags': [], 'project_id': '466260a0355b4d24af83b9571a0825e5'}}
2025-09-11 06:39:21,910 - INFO - Created VN ctest-vn-89898866
2025-09-11 06:39:21,960 - DEBUG - VN ctest-vn-89898866 UUID is f743242b-f952-455a-a506-9fe991f5db81
2025-09-11 06:39:22,279 - DEBUG - Response for create_network : {'network': {'id': 'c18b4aee-b371-423c-b020-ed51f3aa502a', 'name': 'ctest-ext_vn-12795391', 'tenant_id': '466260a0355b4d24af83b9571a0825e5', 'project_id': '466260a0355b4d24af83b9571a0825e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02486775', 'ctest-ext_vn-12795391'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 06:39:22,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ef8b326-a540-4f2c-b6e9-42d08327210b', 'name': '', 'tenant_id': '466260a0355b4d24af83b9571a0825e5', 'network_id': 'c18b4aee-b371-423c-b020-ed51f3aa502a', 'ip_version': 4, 'cidr': '160.108.75.192/26', 'allocation_pools': [{'start': '160.108.75.194', 'end': '160.108.75.254'}], 'gateway_ip': '160.108.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.108.75.194', 'tags': [], 'project_id': '466260a0355b4d24af83b9571a0825e5'}}
2025-09-11 06:39:22,445 - INFO - Created VN ctest-ext_vn-12795391
2025-09-11 06:39:22,496 - DEBUG - VN ctest-ext_vn-12795391 UUID is c18b4aee-b371-423c-b020-ed51f3aa502a
2025-09-11 06:39:22,691 - DEBUG - Services list from nova: [, , ]
2025-09-11 06:39:23,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4081-1)
2025-09-11 06:39:24,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4081-1)
2025-09-11 06:39:24,831 - INFO - Setting gateway for router efa6532f-9d37-4d2a-a789-e8db60375c8f to network c18b4aee-b371-423c-b020-ed51f3aa502a
2025-09-11 06:39:24,882 - INFO - Adding interface with subnet_id baabf949-5fd7-4daf-8cf6-d7f58b5e162c, port_id None to router efa6532f-9d37-4d2a-a789-e8db60375c8f
2025-09-11 06:39:25,077 - INFO - Waiting for VM ctest-TestRoutersBasic-02486775-56437796 to be up..
2025-09-11 06:39:25,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 06:39:30,284 - DEBUG - VM is in ACTIVE state now
2025-09-11 06:39:30,284 - INFO - VM name : ctest-TestRoutersBasic-02486775-56437796
2025-09-11 06:39:30,349 - DEBUG - VM ctest-TestRoutersBasic-02486775-56437796 ID is 559b3204-8917-4a4c-851f-92dece259ff3
2025-09-11 06:39:30,368 - DEBUG - VM ctest-TestRoutersBasic-02486775-56437796 launched on Node cn-jenkins-deploy-platform-ansible-os-4081-1
2025-09-11 06:39:30,437 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/559b3204-8917-4a4c-851f-92dece259ff3
2025-09-11 06:39:30,730 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/559b3204-8917-4a4c-851f-92dece259ff3
2025-09-11 06:39:30,761 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/56f3d51c-cb9e-4b7c-ae3e-fe6f6932028a
2025-09-11 06:39:34,015 - 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 1026ms')
2025-09-11 06:39:34,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02486775-56437796 failed!
2025-09-11 06:39:34,068 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02486775:ctest-vn-89898866 is 166.149.45.1 and allocation pool is NOT set
2025-09-11 06:39:36,131 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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 = 0.462/1.816/3.170/1.354 ms')
2025-09-11 06:39:36,131 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02486775-56437796 passed
2025-09-11 06:39:36,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 06:39:36,285 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02486775-56437796, IP 166.149.45.3, Port 22
2025-09-11 06:39:36,466 - DEBUG - VM ctest-TestRoutersBasic-02486775-56437796 is ready for SSH connections
2025-09-11 06:39:36,466 - INFO - Waiting for VM ctest-TestRoutersBasic-02486775-92686427 to be up..
2025-09-11 06:39:36,584 - DEBUG - VM is in ACTIVE state now
2025-09-11 06:39:36,584 - INFO - VM name : ctest-TestRoutersBasic-02486775-92686427
2025-09-11 06:39:36,680 - DEBUG - VM ctest-TestRoutersBasic-02486775-92686427 ID is ef138894-c025-4621-af02-dc47c4f90543
2025-09-11 06:39:36,680 - DEBUG - VM ctest-TestRoutersBasic-02486775-92686427 launched on Node cn-jenkins-deploy-platform-ansible-os-4081-1
2025-09-11 06:39:36,762 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ef138894-c025-4621-af02-dc47c4f90543
2025-09-11 06:39:36,772 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8948284b-aec7-4b6a-bf22-af8497811754
2025-09-11 06:39:38,020 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.814 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.814/2.148/3.483/1.334 ms')
2025-09-11 06:39:38,020 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02486775-92686427 passed
2025-09-11 06:39:38,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 06:39:38,168 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02486775-92686427, IP 160.108.75.195, Port 22
2025-09-11 06:39:38,331 - DEBUG - VM ctest-TestRoutersBasic-02486775-92686427 is ready for SSH connections
2025-09-11 06:39:38,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 06:39:38,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.108.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-11 06:39:38,332 - DEBUG - ping -s 56 -c 3 -W 1 160.108.75.195
2025-09-11 06:39:42,292 - DEBUG - PING 160.108.75.195 (160.108.75.195): 56 data bytes
64 bytes from 160.108.75.195: seq=0 ttl=62 time=4.740 ms
64 bytes from 160.108.75.195: seq=1 ttl=62 time=0.882 ms
64 bytes from 160.108.75.195: seq=2 ttl=62 time=0.895 ms
--- 160.108.75.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.882/2.172/4.740 ms
2025-09-11 06:39:42,292 - INFO - Ping to IP 160.108.75.195 from VM ctest-TestRoutersBasic-02486775-56437796 passed
2025-09-11 06:39:42,292 - INFO - Deleting interface with subnet_id baabf949-5fd7-4daf-8cf6-d7f58b5e162c, port_id None from router efa6532f-9d37-4d2a-a789-e8db60375c8f
2025-09-11 06:39:42,470 - INFO - Deleting VM ctest-TestRoutersBasic-02486775-92686427
2025-09-11 06:39:42,544 - INFO - Deleting VM ctest-TestRoutersBasic-02486775-56437796
2025-09-11 06:39:42,617 - INFO - Deleting VN ctest-ext_vn-12795391
2025-09-11 06:39:42,679 - DEBUG - VN c18b4aee-b371-423c-b020-ed51f3aa502a still in use: Unable to complete operation on network c18b4aee-b371-423c-b020-ed51f3aa502a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5d43184b-39d0-47f5-8337-a2f11b5545fd']
2025-09-11 06:39:42,679 - WARNING - Deleting VN ctest-ext_vn-12795391 failed..Will retry
2025-09-11 06:39:44,773 - DEBUG - Response for deleting network ()
2025-09-11 06:39:44,773 - INFO - Deleting VN ctest-vn-89898866
2025-09-11 06:39:44,864 - DEBUG - Response for deleting network ()
2025-09-11 06:39:45,120 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 06:39:45,120 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-11 06:39:45,120 - INFO - --------------------------------------------------------------------------------
2025-09-11 06:39:45,780 - INFO - Deleted project: ctest-TestRoutersBasic-02486775, ID : 466260a0-355b-4d24-af83-b9571a0825e5