2025-04-28 17:49:24,704 - INFO - Domain Default found not creating 2025-04-28 17:49:24,818 - INFO - Project ctest-TestRoutersBasic-68896489 not found, creating it 2025-04-28 17:49:25,326 - INFO - Created Project:ctest-TestRoutersBasic-68896489, ID : 0adf3e10-9dcc-4627-8b82-9a8b312ac847 2025-04-28 17:49:26,515 - INFO - ================================================================================ 2025-04-28 17:49:26,515 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-28 17:49:26,515 - 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-04-28 17:49:26,771 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-28 17:49:26,772 - INFO - Initial checks done. Running the testcase now 2025-04-28 17:49:26,772 - INFO - 2025-04-28 17:49:27,373 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68896489 2025-04-28 17:49:27,466 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68896489 2025-04-28 17:49:27,778 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68896489', 'default']} 2025-04-28 17:49:28,059 - DEBUG - Response for create_network : {'network': {'id': '80065f47-6cb8-4a61-8b5b-d632bdeb5013', 'name': 'ctest-vn-69225094', 'tenant_id': '0adf3e109dcc46278b829a8b312ac847', 'project_id': '0adf3e109dcc46278b829a8b312ac847', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68896489', 'ctest-vn-69225094'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 17:49:28,269 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f864f909-5b4c-47cf-9d84-88f96eaf8ad5', 'name': '', 'tenant_id': '0adf3e109dcc46278b829a8b312ac847', 'network_id': '80065f47-6cb8-4a61-8b5b-d632bdeb5013', 'ip_version': 4, 'cidr': '126.26.40.64/26', 'allocation_pools': [{'start': '126.26.40.66', 'end': '126.26.40.126'}], 'gateway_ip': '126.26.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.26.40.66', 'tags': [], 'project_id': '0adf3e109dcc46278b829a8b312ac847'}} 2025-04-28 17:49:28,283 - INFO - Created VN ctest-vn-69225094 2025-04-28 17:49:28,334 - DEBUG - VN ctest-vn-69225094 UUID is 80065f47-6cb8-4a61-8b5b-d632bdeb5013 2025-04-28 17:49:28,663 - DEBUG - Response for create_network : {'network': {'id': '7273f742-2ce8-499b-83a0-ca868f91b453', 'name': 'ctest-ext_vn-84752698', 'tenant_id': '0adf3e109dcc46278b829a8b312ac847', 'project_id': '0adf3e109dcc46278b829a8b312ac847', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68896489', 'ctest-ext_vn-84752698'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 17:49:28,863 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b68c708f-48f1-4fe7-af94-6d911355088e', 'name': '', 'tenant_id': '0adf3e109dcc46278b829a8b312ac847', 'network_id': '7273f742-2ce8-499b-83a0-ca868f91b453', 'ip_version': 4, 'cidr': '153.85.71.0/26', 'allocation_pools': [{'start': '153.85.71.2', 'end': '153.85.71.62'}], 'gateway_ip': '153.85.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.85.71.2', 'tags': [], 'project_id': '0adf3e109dcc46278b829a8b312ac847'}} 2025-04-28 17:49:28,880 - INFO - Created VN ctest-ext_vn-84752698 2025-04-28 17:49:28,934 - DEBUG - VN ctest-ext_vn-84752698 UUID is 7273f742-2ce8-499b-83a0-ca868f91b453 2025-04-28 17:49:29,121 - DEBUG - Services list from nova: [, , ] 2025-04-28 17:49:30,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3245-1) 2025-04-28 17:49:31,046 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3245-1) 2025-04-28 17:49:31,102 - INFO - Setting gateway for router 984d8e71-3379-4c39-ba13-8fd17f7484d6 to network 7273f742-2ce8-499b-83a0-ca868f91b453 2025-04-28 17:49:31,153 - INFO - Adding interface with subnet_id f864f909-5b4c-47cf-9d84-88f96eaf8ad5, port_id None to router 984d8e71-3379-4c39-ba13-8fd17f7484d6 2025-04-28 17:49:31,406 - INFO - Waiting for VM ctest-TestRoutersBasic-68896489-33126453 to be up.. 2025-04-28 17:49:31,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 17:49:36,598 - DEBUG - VM is in ACTIVE state now 2025-04-28 17:49:36,599 - INFO - VM name : ctest-TestRoutersBasic-68896489-33126453 2025-04-28 17:49:36,662 - DEBUG - VM ctest-TestRoutersBasic-68896489-33126453 ID is 8d7059c9-6540-4b33-9aae-64ac4fb58a40 2025-04-28 17:49:36,678 - DEBUG - VM ctest-TestRoutersBasic-68896489-33126453 launched on Node cn-jenkins-deploy-platform-ansible-os-3245-1 2025-04-28 17:49:36,741 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d7059c9-6540-4b33-9aae-64ac4fb58a40 2025-04-28 17:49:36,999 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d7059c9-6540-4b33-9aae-64ac4fb58a40 2025-04-28 17:49:37,026 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aab9c91b-aee4-4003-ab9c-4caf6537bcd0 2025-04-28 17:49:40,279 - 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=3.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 3.070/3.070/3.070/0.000 ms') 2025-04-28 17:49:40,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68896489-33126453 passed 2025-04-28 17:49:40,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:49:40,430 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68896489-33126453, IP 126.26.40.67, Port 22 2025-04-28 17:49:40,586 - DEBUG - VM ctest-TestRoutersBasic-68896489-33126453 is ready for SSH connections 2025-04-28 17:49:40,586 - INFO - Waiting for VM ctest-TestRoutersBasic-68896489-98836654 to be up.. 2025-04-28 17:49:40,655 - DEBUG - VM is in ACTIVE state now 2025-04-28 17:49:40,655 - INFO - VM name : ctest-TestRoutersBasic-68896489-98836654 2025-04-28 17:49:40,725 - DEBUG - VM ctest-TestRoutersBasic-68896489-98836654 ID is 5490d222-8c70-44ec-aae0-f67c68adeff7 2025-04-28 17:49:40,726 - DEBUG - VM ctest-TestRoutersBasic-68896489-98836654 launched on Node cn-jenkins-deploy-platform-ansible-os-3245-1 2025-04-28 17:49:40,786 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5490d222-8c70-44ec-aae0-f67c68adeff7 2025-04-28 17:49:40,793 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/88941008-6a76-4103-b508-bf4d26736d09 2025-04-28 17:49:42,018 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.432/2.454/1.021 ms') 2025-04-28 17:49:42,019 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68896489-98836654 passed 2025-04-28 17:49:42,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:49:42,170 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68896489-98836654, IP 153.85.71.3, Port 22 2025-04-28 17:49:42,326 - DEBUG - VM ctest-TestRoutersBasic-68896489-98836654 is ready for SSH connections 2025-04-28 17:49:42,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:49:42,326 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.85.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-28 17:49:42,326 - DEBUG - ping -s 56 -c 3 -W 1 153.85.71.3 2025-04-28 17:49:46,196 - DEBUG - PING 153.85.71.3 (153.85.71.3): 56 data bytes 64 bytes from 153.85.71.3: seq=0 ttl=62 time=3.892 ms 64 bytes from 153.85.71.3: seq=1 ttl=62 time=0.652 ms 64 bytes from 153.85.71.3: seq=2 ttl=62 time=0.953 ms --- 153.85.71.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.652/1.832/3.892 ms 2025-04-28 17:49:46,197 - INFO - Ping to IP 153.85.71.3 from VM ctest-TestRoutersBasic-68896489-33126453 passed 2025-04-28 17:49:46,197 - INFO - Deleting interface with subnet_id f864f909-5b4c-47cf-9d84-88f96eaf8ad5, port_id None from router 984d8e71-3379-4c39-ba13-8fd17f7484d6 2025-04-28 17:49:46,353 - INFO - Deleting VM ctest-TestRoutersBasic-68896489-98836654 2025-04-28 17:49:46,409 - INFO - Deleting VM ctest-TestRoutersBasic-68896489-33126453 2025-04-28 17:49:46,495 - INFO - Deleting VN ctest-ext_vn-84752698 2025-04-28 17:49:46,559 - DEBUG - VN 7273f742-2ce8-499b-83a0-ca868f91b453 still in use: Unable to complete operation on network 7273f742-2ce8-499b-83a0-ca868f91b453. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-268106bc-6fd9-4aef-b0ab-a769f2ddbf63'] 2025-04-28 17:49:46,559 - WARNING - Deleting VN ctest-ext_vn-84752698 failed..Will retry 2025-04-28 17:49:48,652 - DEBUG - Response for deleting network () 2025-04-28 17:49:48,652 - INFO - Deleting VN ctest-vn-69225094 2025-04-28 17:49:48,740 - DEBUG - Response for deleting network () 2025-04-28 17:49:48,999 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 17:49:48,999 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22]
2025-04-28 17:49:48,999 - INFO - -------------------------------------------------------------------------------- 2025-04-28 17:49:49,605 - INFO - Deleted project: ctest-TestRoutersBasic-68896489, ID : 0adf3e10-9dcc-4627-8b82-9a8b312ac847