2025-01-08 21:47:26,601 - INFO - Domain Default found not creating
2025-01-08 21:47:26,765 - INFO - Project ctest-TestRoutersBasic-42160155 not found, creating it
2025-01-08 21:47:27,270 - INFO - Created Project:ctest-TestRoutersBasic-42160155, ID : ad5625b5-e864-4411-9c5e-79c5da3cf999
2025-01-08 21:47:28,866 - INFO - ================================================================================
2025-01-08 21:47:28,866 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-08 21:47:28,866 - 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-01-08 21:47:29,123 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.11': '0'}} with
2025-01-08 21:47:29,123 - INFO - Initial checks done. Running the testcase now
2025-01-08 21:47:29,123 - INFO -
2025-01-08 21:47:29,854 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42160155
2025-01-08 21:47:29,957 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42160155
2025-01-08 21:47:30,305 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42160155', 'default']}
2025-01-08 21:47:30,643 - DEBUG - Response for create_network : {'network': {'id': '13574e2e-613a-4a79-8b0d-594091d69e2a', 'name': 'ctest-vn-83555493', 'tenant_id': 'ad5625b5e86444119c5e79c5da3cf999', 'project_id': 'ad5625b5e86444119c5e79c5da3cf999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42160155', 'ctest-vn-83555493'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 21:47:30,874 - DEBUG - Response for create_subnet : {'subnet': {'id': '481c2dc9-12a1-4019-beb4-f8b59b554bcd', 'name': '', 'tenant_id': 'ad5625b5e86444119c5e79c5da3cf999', 'network_id': '13574e2e-613a-4a79-8b0d-594091d69e2a', 'ip_version': 4, 'cidr': '199.66.82.64/26', 'allocation_pools': [{'start': '199.66.82.66', 'end': '199.66.82.126'}], 'gateway_ip': '199.66.82.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.66.82.66', 'tags': [], 'project_id': 'ad5625b5e86444119c5e79c5da3cf999'}}
2025-01-08 21:47:30,892 - INFO - Created VN ctest-vn-83555493
2025-01-08 21:47:30,945 - DEBUG - VN ctest-vn-83555493 UUID is 13574e2e-613a-4a79-8b0d-594091d69e2a
2025-01-08 21:47:31,291 - DEBUG - Response for create_network : {'network': {'id': '572a9c80-fb2c-4a0a-8cdd-da3b8de73b56', 'name': 'ctest-ext_vn-80813201', 'tenant_id': 'ad5625b5e86444119c5e79c5da3cf999', 'project_id': 'ad5625b5e86444119c5e79c5da3cf999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42160155', 'ctest-ext_vn-80813201'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 21:47:31,482 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1242dc5-5a09-4396-9ab7-fb1f6c4edfe7', 'name': '', 'tenant_id': 'ad5625b5e86444119c5e79c5da3cf999', 'network_id': '572a9c80-fb2c-4a0a-8cdd-da3b8de73b56', 'ip_version': 4, 'cidr': '90.120.79.0/26', 'allocation_pools': [{'start': '90.120.79.2', 'end': '90.120.79.62'}], 'gateway_ip': '90.120.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.120.79.2', 'tags': [], 'project_id': 'ad5625b5e86444119c5e79c5da3cf999'}}
2025-01-08 21:47:31,501 - INFO - Created VN ctest-ext_vn-80813201
2025-01-08 21:47:31,553 - DEBUG - VN ctest-ext_vn-80813201 UUID is 572a9c80-fb2c-4a0a-8cdd-da3b8de73b56
2025-01-08 21:47:31,727 - DEBUG - Services list from nova: [, , ]
2025-01-08 21:47:32,780 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2569-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2569-1)
2025-01-08 21:47:33,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2569-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2569-1)
2025-01-08 21:47:34,040 - INFO - Setting gateway for router 3afa9c86-6d78-47e0-b804-ebee18cb1a64 to network 572a9c80-fb2c-4a0a-8cdd-da3b8de73b56
2025-01-08 21:47:34,113 - INFO - Adding interface with subnet_id 481c2dc9-12a1-4019-beb4-f8b59b554bcd, port_id None to router 3afa9c86-6d78-47e0-b804-ebee18cb1a64
2025-01-08 21:47:34,517 - INFO - Waiting for VM ctest-TestRoutersBasic-42160155-21798764 to be up..
2025-01-08 21:47:34,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-08 21:47:39,797 - DEBUG - VM is in ACTIVE state now
2025-01-08 21:47:39,797 - INFO - VM name : ctest-TestRoutersBasic-42160155-21798764
2025-01-08 21:47:39,886 - DEBUG - VM ctest-TestRoutersBasic-42160155-21798764 ID is 9e5d00c0-4131-434c-86c0-8b44e3087e4f
2025-01-08 21:47:39,907 - DEBUG - VM ctest-TestRoutersBasic-42160155-21798764 launched on Node cn-jenkins-deploy-platform-ansible-os-2569-1
2025-01-08 21:47:39,993 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9e5d00c0-4131-434c-86c0-8b44e3087e4f
2025-01-08 21:47:40,300 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9e5d00c0-4131-434c-86c0-8b44e3087e4f
2025-01-08 21:47:40,344 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bb5805c0-fce0-4749-a620-b283423eebd4
2025-01-08 21:47:43,598 - 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 1003ms')
2025-01-08 21:47:43,598 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42160155-21798764 failed!
2025-01-08 21:47:43,657 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42160155:ctest-vn-83555493 is 199.66.82.65 and allocation pool is NOT set
2025-01-08 21:47:45,724 - 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=4.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.62 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 = 1.617/3.002/4.387/1.385 ms')
2025-01-08 21:47:45,725 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42160155-21798764 passed
2025-01-08 21:47:45,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 21:47:45,881 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42160155-21798764, IP 199.66.82.67, Port 22
2025-01-08 21:47:46,041 - DEBUG - VM ctest-TestRoutersBasic-42160155-21798764 is ready for SSH connections
2025-01-08 21:47:46,041 - INFO - Waiting for VM ctest-TestRoutersBasic-42160155-32815822 to be up..
2025-01-08 21:47:46,131 - DEBUG - VM is in ACTIVE state now
2025-01-08 21:47:46,131 - INFO - VM name : ctest-TestRoutersBasic-42160155-32815822
2025-01-08 21:47:46,220 - DEBUG - VM ctest-TestRoutersBasic-42160155-32815822 ID is 9ea78eb0-72be-4e0d-84c9-803cb4551dce
2025-01-08 21:47:46,220 - DEBUG - VM ctest-TestRoutersBasic-42160155-32815822 launched on Node cn-jenkins-deploy-platform-ansible-os-2569-1
2025-01-08 21:47:46,303 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9ea78eb0-72be-4e0d-84c9-803cb4551dce
2025-01-08 21:47:46,314 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/74f13a93-d5af-4fe8-ac19-2d9056c22e60
2025-01-08 21:47:47,579 - 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=5.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.941 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.941/3.036/5.131/2.095 ms')
2025-01-08 21:47:47,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42160155-32815822 passed
2025-01-08 21:47:47,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 21:47:47,737 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42160155-32815822, IP 90.120.79.3, Port 22
2025-01-08 21:47:47,892 - DEBUG - VM ctest-TestRoutersBasic-42160155-32815822 is ready for SSH connections
2025-01-08 21:47:47,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 21:47:47,893 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.120.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-01-08 21:47:47,893 - DEBUG - ping -s 56 -c 3 -W 1 90.120.79.3
2025-01-08 21:47:51,900 - DEBUG - PING 90.120.79.3 (90.120.79.3): 56 data bytes
64 bytes from 90.120.79.3: seq=0 ttl=62 time=5.539 ms
64 bytes from 90.120.79.3: seq=1 ttl=62 time=1.124 ms
64 bytes from 90.120.79.3: seq=2 ttl=62 time=1.146 ms
--- 90.120.79.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.124/2.603/5.539 ms
2025-01-08 21:47:51,900 - INFO - Ping to IP 90.120.79.3 from VM ctest-TestRoutersBasic-42160155-21798764 passed
2025-01-08 21:47:51,900 - INFO - Deleting interface with subnet_id 481c2dc9-12a1-4019-beb4-f8b59b554bcd, port_id None from router 3afa9c86-6d78-47e0-b804-ebee18cb1a64
2025-01-08 21:47:52,270 - INFO - Deleting VM ctest-TestRoutersBasic-42160155-32815822
2025-01-08 21:47:52,337 - INFO - Deleting VM ctest-TestRoutersBasic-42160155-21798764
2025-01-08 21:47:52,439 - INFO - Deleting VN ctest-ext_vn-80813201
2025-01-08 21:47:52,537 - DEBUG - VN 572a9c80-fb2c-4a0a-8cdd-da3b8de73b56 still in use: Unable to complete operation on network 572a9c80-fb2c-4a0a-8cdd-da3b8de73b56. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-54bcd1ba-ff2b-4a05-b614-2a97e8164d6d']
2025-01-08 21:47:52,537 - WARNING - Deleting VN ctest-ext_vn-80813201 failed..Will retry
2025-01-08 21:47:54,651 - DEBUG - Response for deleting network ()
2025-01-08 21:47:54,651 - INFO - Deleting VN ctest-vn-83555493
2025-01-08 21:47:54,778 - DEBUG - Response for deleting network ()
2025-01-08 21:47:55,035 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 21:47:55,035 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-01-08 21:47:55,035 - INFO - --------------------------------------------------------------------------------
2025-01-08 21:47:55,749 - INFO - Deleted project: ctest-TestRoutersBasic-42160155, ID : ad5625b5-e864-4411-9c5e-79c5da3cf999