2025-03-30 13:15:58,391 - INFO - Domain Default found not creating
2025-03-30 13:15:58,545 - INFO - Project ctest-TestRoutersBasic-78294471 not found, creating it
2025-03-30 13:15:59,010 - INFO - Created Project:ctest-TestRoutersBasic-78294471, ID : 9f3b867e-44a5-46c6-b2bd-d03595e38945
2025-03-30 13:16:00,514 - INFO - ================================================================================
2025-03-30 13:16:00,515 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-30 13:16:00,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-03-30 13:16:00,770 - DEBUG - Nothing to compare xmpp stats {'10.0.0.60': {'10.20.0.6': '0'}} with
2025-03-30 13:16:00,770 - INFO - Initial checks done. Running the testcase now
2025-03-30 13:16:00,770 - INFO -
2025-03-30 13:16:01,543 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78294471
2025-03-30 13:16:01,644 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78294471
2025-03-30 13:16:01,968 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78294471', 'default']}
2025-03-30 13:16:02,294 - DEBUG - Response for create_network : {'network': {'id': '23e87200-ff5b-4a8d-a213-9a66ce43c0cd', 'name': 'ctest-vn-92868744', 'tenant_id': '9f3b867e44a546c6b2bdd03595e38945', 'project_id': '9f3b867e44a546c6b2bdd03595e38945', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78294471', 'ctest-vn-92868744'], 'port_security_enabled': True, 'description': ''}}
2025-03-30 13:16:02,516 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee51935d-a867-429a-b8df-d0742d51bbc6', 'name': '', 'tenant_id': '9f3b867e44a546c6b2bdd03595e38945', 'network_id': '23e87200-ff5b-4a8d-a213-9a66ce43c0cd', 'ip_version': 4, 'cidr': '220.103.235.128/26', 'allocation_pools': [{'start': '220.103.235.130', 'end': '220.103.235.190'}], 'gateway_ip': '220.103.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.103.235.130', 'tags': [], 'project_id': '9f3b867e44a546c6b2bdd03595e38945'}}
2025-03-30 13:16:02,536 - INFO - Created VN ctest-vn-92868744
2025-03-30 13:16:02,596 - DEBUG - VN ctest-vn-92868744 UUID is 23e87200-ff5b-4a8d-a213-9a66ce43c0cd
2025-03-30 13:16:02,966 - DEBUG - Response for create_network : {'network': {'id': '5666c601-b88c-4c09-902f-dc05ebdd4fc9', 'name': 'ctest-ext_vn-04741808', 'tenant_id': '9f3b867e44a546c6b2bdd03595e38945', 'project_id': '9f3b867e44a546c6b2bdd03595e38945', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78294471', 'ctest-ext_vn-04741808'], 'port_security_enabled': True, 'description': ''}}
2025-03-30 13:16:03,188 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b19d5da9-d1de-419b-8a86-007d72b2066a', 'name': '', 'tenant_id': '9f3b867e44a546c6b2bdd03595e38945', 'network_id': '5666c601-b88c-4c09-902f-dc05ebdd4fc9', 'ip_version': 4, 'cidr': '18.94.145.192/26', 'allocation_pools': [{'start': '18.94.145.194', 'end': '18.94.145.254'}], 'gateway_ip': '18.94.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.94.145.194', 'tags': [], 'project_id': '9f3b867e44a546c6b2bdd03595e38945'}}
2025-03-30 13:16:03,209 - INFO - Created VN ctest-ext_vn-04741808
2025-03-30 13:16:03,264 - DEBUG - VN ctest-ext_vn-04741808 UUID is 5666c601-b88c-4c09-902f-dc05ebdd4fc9
2025-03-30 13:16:03,445 - DEBUG - Services list from nova: [, , ]
2025-03-30 13:16:04,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3005-1)
2025-03-30 13:16:05,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3005-1)
2025-03-30 13:16:05,686 - INFO - Setting gateway for router 0db70a84-6f7f-4de6-b202-710794449781 to network 5666c601-b88c-4c09-902f-dc05ebdd4fc9
2025-03-30 13:16:05,762 - INFO - Adding interface with subnet_id ee51935d-a867-429a-b8df-d0742d51bbc6, port_id None to router 0db70a84-6f7f-4de6-b202-710794449781
2025-03-30 13:16:06,242 - INFO - Waiting for VM ctest-TestRoutersBasic-78294471-70168619 to be up..
2025-03-30 13:16:06,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-30 13:16:11,498 - DEBUG - VM is in ACTIVE state now
2025-03-30 13:16:11,499 - INFO - VM name : ctest-TestRoutersBasic-78294471-70168619
2025-03-30 13:16:11,584 - DEBUG - VM ctest-TestRoutersBasic-78294471-70168619 ID is c21a0264-07a3-450d-9bab-011f7851ce17
2025-03-30 13:16:11,605 - DEBUG - VM ctest-TestRoutersBasic-78294471-70168619 launched on Node cn-jenkins-deploy-platform-ansible-os-3005-1
2025-03-30 13:16:11,686 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/c21a0264-07a3-450d-9bab-011f7851ce17
2025-03-30 13:16:11,987 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/c21a0264-07a3-450d-9bab-011f7851ce17
2025-03-30 13:16:12,018 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/c26b2263-af81-4140-aad3-452eff88085a
2025-03-30 13:16:15,270 - 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 1011ms')
2025-03-30 13:16:15,270 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78294471-70168619 failed!
2025-03-30 13:16:15,324 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78294471:ctest-vn-92868744 is 220.103.235.129 and allocation pool is NOT set
2025-03-30 13:16:17,383 - 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=2.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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 = 0.412/1.644/2.876/1.232 ms')
2025-03-30 13:16:17,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78294471-70168619 passed
2025-03-30 13:16:17,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-30 13:16:17,500 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78294471-70168619, IP 220.103.235.131, Port 22
2025-03-30 13:16:17,655 - DEBUG - VM ctest-TestRoutersBasic-78294471-70168619 is ready for SSH connections
2025-03-30 13:16:17,655 - INFO - Waiting for VM ctest-TestRoutersBasic-78294471-09797086 to be up..
2025-03-30 13:16:17,738 - DEBUG - VM is in ACTIVE state now
2025-03-30 13:16:17,738 - INFO - VM name : ctest-TestRoutersBasic-78294471-09797086
2025-03-30 13:16:17,820 - DEBUG - VM ctest-TestRoutersBasic-78294471-09797086 ID is 3b54e672-92f5-45c0-9aba-01eb802fe737
2025-03-30 13:16:17,820 - DEBUG - VM ctest-TestRoutersBasic-78294471-09797086 launched on Node cn-jenkins-deploy-platform-ansible-os-3005-1
2025-03-30 13:16:17,916 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/3b54e672-92f5-45c0-9aba-01eb802fe737
2025-03-30 13:16:17,928 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/069e51ec-5793-4d3f-9a0b-3aedfc9a590c
2025-03-30 13:16:19,167 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.537 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.537/1.741/2.945/1.204 ms')
2025-03-30 13:16:19,167 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78294471-09797086 passed
2025-03-30 13:16:19,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-30 13:16:19,316 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78294471-09797086, IP 18.94.145.195, Port 22
2025-03-30 13:16:19,472 - DEBUG - VM ctest-TestRoutersBasic-78294471-09797086 is ready for SSH connections
2025-03-30 13:16:19,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-30 13:16:19,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.94.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.60, gateway password: c0ntrail123
2025-03-30 13:16:19,472 - DEBUG - ping -s 56 -c 3 -W 1 18.94.145.195
2025-03-30 13:16:23,217 - DEBUG - PING 18.94.145.195 (18.94.145.195): 56 data bytes
64 bytes from 18.94.145.195: seq=0 ttl=62 time=6.541 ms
64 bytes from 18.94.145.195: seq=1 ttl=62 time=0.923 ms
64 bytes from 18.94.145.195: seq=2 ttl=62 time=1.525 ms
--- 18.94.145.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.923/2.996/6.541 ms
2025-03-30 13:16:23,217 - INFO - Ping to IP 18.94.145.195 from VM ctest-TestRoutersBasic-78294471-70168619 passed
2025-03-30 13:16:23,217 - INFO - Deleting interface with subnet_id ee51935d-a867-429a-b8df-d0742d51bbc6, port_id None from router 0db70a84-6f7f-4de6-b202-710794449781
2025-03-30 13:16:23,421 - INFO - Deleting VM ctest-TestRoutersBasic-78294471-09797086
2025-03-30 13:16:23,487 - INFO - Deleting VM ctest-TestRoutersBasic-78294471-70168619
2025-03-30 13:16:23,576 - INFO - Deleting VN ctest-ext_vn-04741808
2025-03-30 13:16:23,646 - DEBUG - VN 5666c601-b88c-4c09-902f-dc05ebdd4fc9 still in use: Unable to complete operation on network 5666c601-b88c-4c09-902f-dc05ebdd4fc9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-316b8eb8-15ae-46ad-908a-ed705a005dc6']
2025-03-30 13:16:23,647 - WARNING - Deleting VN ctest-ext_vn-04741808 failed..Will retry
2025-03-30 13:16:25,766 - DEBUG - Response for deleting network ()
2025-03-30 13:16:25,766 - INFO - Deleting VN ctest-vn-92868744
2025-03-30 13:16:25,887 - DEBUG - Response for deleting network ()
2025-03-30 13:16:26,144 - DEBUG - No XMPP flaps were noticed during the test
2025-03-30 13:16:26,144 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-30 13:16:26,144 - INFO - --------------------------------------------------------------------------------
2025-03-30 13:16:26,830 - INFO - Deleted project: ctest-TestRoutersBasic-78294471, ID : 9f3b867e-44a5-46c6-b2bd-d03595e38945