2025-11-02 22:38:35,098 - INFO - Domain Default found not creating
2025-11-02 22:38:35,251 - INFO - Project ctest-TestRoutersBasic-98394112 not found, creating it
2025-11-02 22:38:35,744 - INFO - Created Project:ctest-TestRoutersBasic-98394112, ID : 778c3de0-72ea-49d9-9f3b-3c8d7aafe38d
2025-11-02 22:38:37,236 - INFO - ================================================================================
2025-11-02 22:38:37,236 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-02 22:38:37,236 - 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-11-02 22:38:37,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-11-02 22:38:37,497 - INFO - Initial checks done. Running the testcase now
2025-11-02 22:38:37,498 - INFO -
2025-11-02 22:38:38,241 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98394112
2025-11-02 22:38:38,336 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98394112
2025-11-02 22:38:38,660 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98394112', 'default']}
2025-11-02 22:38:38,949 - DEBUG - Response for create_network : {'network': {'id': 'e1fc4137-1bd7-4408-8235-b0ddd19fc307', 'name': 'ctest-vn-62146568', 'tenant_id': '778c3de072ea49d99f3b3c8d7aafe38d', 'project_id': '778c3de072ea49d99f3b3c8d7aafe38d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98394112', 'ctest-vn-62146568'], 'port_security_enabled': True, 'description': ''}}
2025-11-02 22:38:39,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '265cd50e-7ec3-40d5-b57a-9d5409a059f0', 'name': '', 'tenant_id': '778c3de072ea49d99f3b3c8d7aafe38d', 'network_id': 'e1fc4137-1bd7-4408-8235-b0ddd19fc307', 'ip_version': 4, 'cidr': '129.165.196.0/26', 'allocation_pools': [{'start': '129.165.196.2', 'end': '129.165.196.62'}], 'gateway_ip': '129.165.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.165.196.2', 'tags': [], 'project_id': '778c3de072ea49d99f3b3c8d7aafe38d'}}
2025-11-02 22:38:39,168 - INFO - Created VN ctest-vn-62146568
2025-11-02 22:38:39,220 - DEBUG - VN ctest-vn-62146568 UUID is e1fc4137-1bd7-4408-8235-b0ddd19fc307
2025-11-02 22:38:39,560 - DEBUG - Response for create_network : {'network': {'id': '4777c99e-a178-40e5-b105-03cbf9325e5c', 'name': 'ctest-ext_vn-34721469', 'tenant_id': '778c3de072ea49d99f3b3c8d7aafe38d', 'project_id': '778c3de072ea49d99f3b3c8d7aafe38d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98394112', 'ctest-ext_vn-34721469'], 'port_security_enabled': True, 'description': ''}}
2025-11-02 22:38:39,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0dfff1f-b570-400a-ad20-c8fc90985c0d', 'name': '', 'tenant_id': '778c3de072ea49d99f3b3c8d7aafe38d', 'network_id': '4777c99e-a178-40e5-b105-03cbf9325e5c', 'ip_version': 4, 'cidr': '207.25.73.64/26', 'allocation_pools': [{'start': '207.25.73.66', 'end': '207.25.73.126'}], 'gateway_ip': '207.25.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.25.73.66', 'tags': [], 'project_id': '778c3de072ea49d99f3b3c8d7aafe38d'}}
2025-11-02 22:38:39,778 - INFO - Created VN ctest-ext_vn-34721469
2025-11-02 22:38:39,828 - DEBUG - VN ctest-ext_vn-34721469 UUID is 4777c99e-a178-40e5-b105-03cbf9325e5c
2025-11-02 22:38:40,037 - DEBUG - Services list from nova: [, , ]
2025-11-02 22:38:41,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4596-1)
2025-11-02 22:38:42,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4596-1)
2025-11-02 22:38:42,310 - INFO - Setting gateway for router c967b2a8-cfcb-46b8-a25c-95dacb3568a3 to network 4777c99e-a178-40e5-b105-03cbf9325e5c
2025-11-02 22:38:42,367 - INFO - Adding interface with subnet_id 265cd50e-7ec3-40d5-b57a-9d5409a059f0, port_id None to router c967b2a8-cfcb-46b8-a25c-95dacb3568a3
2025-11-02 22:38:42,655 - INFO - Waiting for VM ctest-TestRoutersBasic-98394112-98968461 to be up..
2025-11-02 22:38:42,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-02 22:38:47,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-02 22:38:52,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-02 22:38:57,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-02 22:39:03,064 - DEBUG - VM is in ACTIVE state now
2025-11-02 22:39:03,064 - INFO - VM name : ctest-TestRoutersBasic-98394112-98968461
2025-11-02 22:39:03,143 - DEBUG - VM ctest-TestRoutersBasic-98394112-98968461 ID is 19b82dbc-e1de-4c43-bc62-cc927d2dde71
2025-11-02 22:39:03,163 - DEBUG - VM ctest-TestRoutersBasic-98394112-98968461 launched on Node cn-jenkins-deploy-platform-ansible-os-4596-1
2025-11-02 22:39:03,250 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/19b82dbc-e1de-4c43-bc62-cc927d2dde71
2025-11-02 22:39:03,562 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/19b82dbc-e1de-4c43-bc62-cc927d2dde71
2025-11-02 22:39:03,603 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/68217971-69ea-4953-909b-bd12f81ec16a
2025-11-02 22:39:06,876 - 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 1025ms')
2025-11-02 22:39:06,876 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98394112-98968461 failed!
2025-11-02 22:39:06,932 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98394112:ctest-vn-62146568 is 129.165.196.1 and allocation pool is NOT set
2025-11-02 22:39:11,003 - 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=2 ttl=63 time=7.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 7.322/7.322/7.322/0.000 ms')
2025-11-02 22:39:11,003 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98394112-98968461 passed
2025-11-02 22:39:11,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 22:39:11,160 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98394112-98968461, IP 129.165.196.3, Port 22
2025-11-02 22:39:11,333 - DEBUG - VM ctest-TestRoutersBasic-98394112-98968461 is ready for SSH connections
2025-11-02 22:39:11,333 - INFO - Waiting for VM ctest-TestRoutersBasic-98394112-99421774 to be up..
2025-11-02 22:39:11,414 - DEBUG - VM is in ACTIVE state now
2025-11-02 22:39:11,414 - INFO - VM name : ctest-TestRoutersBasic-98394112-99421774
2025-11-02 22:39:11,494 - DEBUG - VM ctest-TestRoutersBasic-98394112-99421774 ID is cad89b3a-c50e-48be-b6de-7a2dad75036c
2025-11-02 22:39:11,495 - DEBUG - VM ctest-TestRoutersBasic-98394112-99421774 launched on Node cn-jenkins-deploy-platform-ansible-os-4596-1
2025-11-02 22:39:11,576 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cad89b3a-c50e-48be-b6de-7a2dad75036c
2025-11-02 22:39:11,583 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/cdf80b30-59d7-4152-8f93-e8a1481fc2ef
2025-11-02 22:39:12,816 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.608 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.608/2.174/3.740/1.566 ms')
2025-11-02 22:39:12,816 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98394112-99421774 passed
2025-11-02 22:39:12,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 22:39:12,964 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98394112-99421774, IP 207.25.73.67, Port 22
2025-11-02 22:39:13,120 - DEBUG - VM ctest-TestRoutersBasic-98394112-99421774 is ready for SSH connections
2025-11-02 22:39:13,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 22:39:13,120 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.25.73.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-11-02 22:39:13,120 - DEBUG - ping -s 56 -c 3 -W 1 207.25.73.67
2025-11-02 22:39:17,137 - DEBUG - PING 207.25.73.67 (207.25.73.67): 56 data bytes
64 bytes from 207.25.73.67: seq=0 ttl=62 time=8.654 ms
64 bytes from 207.25.73.67: seq=1 ttl=62 time=0.854 ms
64 bytes from 207.25.73.67: seq=2 ttl=62 time=1.577 ms
--- 207.25.73.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.854/3.695/8.654 ms
2025-11-02 22:39:17,138 - INFO - Ping to IP 207.25.73.67 from VM ctest-TestRoutersBasic-98394112-98968461 passed
2025-11-02 22:39:17,138 - INFO - Deleting interface with subnet_id 265cd50e-7ec3-40d5-b57a-9d5409a059f0, port_id None from router c967b2a8-cfcb-46b8-a25c-95dacb3568a3
2025-11-02 22:39:17,353 - INFO - Deleting VM ctest-TestRoutersBasic-98394112-99421774
2025-11-02 22:39:17,431 - INFO - Deleting VM ctest-TestRoutersBasic-98394112-98968461
2025-11-02 22:39:17,515 - INFO - Deleting VN ctest-ext_vn-34721469
2025-11-02 22:39:17,600 - DEBUG - VN 4777c99e-a178-40e5-b105-03cbf9325e5c still in use: Unable to complete operation on network 4777c99e-a178-40e5-b105-03cbf9325e5c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e78febe3-e62d-4cfd-bbc2-4ef2cd80509c']
2025-11-02 22:39:17,600 - WARNING - Deleting VN ctest-ext_vn-34721469 failed..Will retry
2025-11-02 22:39:19,729 - DEBUG - Response for deleting network ()
2025-11-02 22:39:19,729 - INFO - Deleting VN ctest-vn-62146568
2025-11-02 22:39:19,848 - DEBUG - Response for deleting network ()
2025-11-02 22:39:20,119 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 22:39:20,119 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:43]
2025-11-02 22:39:20,120 - INFO - --------------------------------------------------------------------------------
2025-11-02 22:39:20,818 - INFO - Deleted project: ctest-TestRoutersBasic-98394112, ID : 778c3de0-72ea-49d9-9f3b-3c8d7aafe38d