2025-04-25 00:11:20,001 - INFO - Domain Default found not creating
2025-04-25 00:11:20,119 - INFO - Project ctest-TestRoutersBasic-51750034 not found, creating it
2025-04-25 00:11:20,581 - INFO - Created Project:ctest-TestRoutersBasic-51750034, ID : 39181a5c-3d6a-4530-992a-4149e575e82d
2025-04-25 00:11:21,934 - INFO - ================================================================================
2025-04-25 00:11:21,934 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-25 00:11:21,934 - 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-25 00:11:22,197 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-04-25 00:11:22,198 - INFO - Initial checks done. Running the testcase now
2025-04-25 00:11:22,198 - INFO -
2025-04-25 00:11:22,882 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51750034
2025-04-25 00:11:22,976 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51750034
2025-04-25 00:11:23,292 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51750034', 'default']}
2025-04-25 00:11:23,560 - DEBUG - Response for create_network : {'network': {'id': 'e20564ed-cc9d-4324-b9df-f7954ff29509', 'name': 'ctest-vn-29097523', 'tenant_id': '39181a5c3d6a4530992a4149e575e82d', 'project_id': '39181a5c3d6a4530992a4149e575e82d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51750034', 'ctest-vn-29097523'], 'port_security_enabled': True, 'description': ''}}
2025-04-25 00:11:23,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '92a748d5-229c-4195-8743-0eddf2c9e293', 'name': '', 'tenant_id': '39181a5c3d6a4530992a4149e575e82d', 'network_id': 'e20564ed-cc9d-4324-b9df-f7954ff29509', 'ip_version': 4, 'cidr': '213.98.160.64/26', 'allocation_pools': [{'start': '213.98.160.66', 'end': '213.98.160.126'}], 'gateway_ip': '213.98.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.98.160.66', 'tags': [], 'project_id': '39181a5c3d6a4530992a4149e575e82d'}}
2025-04-25 00:11:23,759 - INFO - Created VN ctest-vn-29097523
2025-04-25 00:11:23,812 - DEBUG - VN ctest-vn-29097523 UUID is e20564ed-cc9d-4324-b9df-f7954ff29509
2025-04-25 00:11:24,144 - DEBUG - Response for create_network : {'network': {'id': 'c86e4139-c182-40d3-a210-fd49856ee622', 'name': 'ctest-ext_vn-41932037', 'tenant_id': '39181a5c3d6a4530992a4149e575e82d', 'project_id': '39181a5c3d6a4530992a4149e575e82d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51750034', 'ctest-ext_vn-41932037'], 'port_security_enabled': True, 'description': ''}}
2025-04-25 00:11:24,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '53f6e205-6b20-4fd5-97bd-505008872eed', 'name': '', 'tenant_id': '39181a5c3d6a4530992a4149e575e82d', 'network_id': 'c86e4139-c182-40d3-a210-fd49856ee622', 'ip_version': 4, 'cidr': '154.68.2.0/26', 'allocation_pools': [{'start': '154.68.2.2', 'end': '154.68.2.62'}], 'gateway_ip': '154.68.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.68.2.2', 'tags': [], 'project_id': '39181a5c3d6a4530992a4149e575e82d'}}
2025-04-25 00:11:24,337 - INFO - Created VN ctest-ext_vn-41932037
2025-04-25 00:11:24,388 - DEBUG - VN ctest-ext_vn-41932037 UUID is c86e4139-c182-40d3-a210-fd49856ee622
2025-04-25 00:11:24,574 - DEBUG - Services list from nova: [, , ]
2025-04-25 00:11:25,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3211-1)
2025-04-25 00:11:26,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3211-1)
2025-04-25 00:11:26,648 - INFO - Setting gateway for router a203dc3d-c315-4cb3-b919-2965611015a5 to network c86e4139-c182-40d3-a210-fd49856ee622
2025-04-25 00:11:26,732 - INFO - Adding interface with subnet_id 92a748d5-229c-4195-8743-0eddf2c9e293, port_id None to router a203dc3d-c315-4cb3-b919-2965611015a5
2025-04-25 00:11:27,050 - INFO - Waiting for VM ctest-TestRoutersBasic-51750034-63457478 to be up..
2025-04-25 00:11:27,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-25 00:11:32,247 - DEBUG - VM is in ACTIVE state now
2025-04-25 00:11:32,248 - INFO - VM name : ctest-TestRoutersBasic-51750034-63457478
2025-04-25 00:11:32,315 - DEBUG - VM ctest-TestRoutersBasic-51750034-63457478 ID is 1328c1e4-f9b1-4776-a21f-e304deb90a34
2025-04-25 00:11:32,331 - DEBUG - VM ctest-TestRoutersBasic-51750034-63457478 launched on Node cn-jenkins-deploy-platform-ansible-os-3211-1
2025-04-25 00:11:32,396 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1328c1e4-f9b1-4776-a21f-e304deb90a34
2025-04-25 00:11:32,685 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1328c1e4-f9b1-4776-a21f-e304deb90a34
2025-04-25 00:11:32,715 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5a704b98-f26a-40c5-9408-ceb56b7d4048
2025-04-25 00:11:35,967 - 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=8.79 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 8.792/8.792/8.792/0.000 ms')
2025-04-25 00:11:35,967 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51750034-63457478 passed
2025-04-25 00:11:36,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 00:11:36,120 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51750034-63457478, IP 213.98.160.67, Port 22
2025-04-25 00:11:36,275 - DEBUG - VM ctest-TestRoutersBasic-51750034-63457478 is ready for SSH connections
2025-04-25 00:11:36,275 - INFO - Waiting for VM ctest-TestRoutersBasic-51750034-88750678 to be up..
2025-04-25 00:11:36,342 - DEBUG - VM is in ACTIVE state now
2025-04-25 00:11:36,342 - INFO - VM name : ctest-TestRoutersBasic-51750034-88750678
2025-04-25 00:11:36,401 - DEBUG - VM ctest-TestRoutersBasic-51750034-88750678 ID is 1b8c4017-49ec-4bce-8ab8-8dcc64bc749d
2025-04-25 00:11:36,401 - DEBUG - VM ctest-TestRoutersBasic-51750034-88750678 launched on Node cn-jenkins-deploy-platform-ansible-os-3211-1
2025-04-25 00:11:36,462 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1b8c4017-49ec-4bce-8ab8-8dcc64bc749d
2025-04-25 00:11:36,470 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7fad3942-3031-414e-8a2d-c7f2c6824d89
2025-04-25 00:11:37,710 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.091/2.390/3.690/1.299 ms')
2025-04-25 00:11:37,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51750034-88750678 passed
2025-04-25 00:11:37,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 00:11:37,868 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51750034-88750678, IP 154.68.2.3, Port 22
2025-04-25 00:11:38,023 - DEBUG - VM ctest-TestRoutersBasic-51750034-88750678 is ready for SSH connections
2025-04-25 00:11:38,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 00:11:38,023 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.68.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-04-25 00:11:38,024 - DEBUG - ping -s 56 -c 3 -W 1 154.68.2.3
2025-04-25 00:11:41,954 - DEBUG - PING 154.68.2.3 (154.68.2.3): 56 data bytes
64 bytes from 154.68.2.3: seq=0 ttl=62 time=5.046 ms
64 bytes from 154.68.2.3: seq=1 ttl=62 time=0.751 ms
64 bytes from 154.68.2.3: seq=2 ttl=62 time=0.867 ms
--- 154.68.2.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.751/2.221/5.046 ms
2025-04-25 00:11:41,954 - INFO - Ping to IP 154.68.2.3 from VM ctest-TestRoutersBasic-51750034-63457478 passed
2025-04-25 00:11:41,954 - INFO - Deleting interface with subnet_id 92a748d5-229c-4195-8743-0eddf2c9e293, port_id None from router a203dc3d-c315-4cb3-b919-2965611015a5
2025-04-25 00:11:42,159 - INFO - Deleting VM ctest-TestRoutersBasic-51750034-88750678
2025-04-25 00:11:42,215 - INFO - Deleting VM ctest-TestRoutersBasic-51750034-63457478
2025-04-25 00:11:42,281 - INFO - Deleting VN ctest-ext_vn-41932037
2025-04-25 00:11:42,347 - DEBUG - VN c86e4139-c182-40d3-a210-fd49856ee622 still in use: Unable to complete operation on network c86e4139-c182-40d3-a210-fd49856ee622. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-66841e7d-fab3-4c2d-bf23-88ae7ec4c35a']
2025-04-25 00:11:42,347 - WARNING - Deleting VN ctest-ext_vn-41932037 failed..Will retry
2025-04-25 00:11:44,437 - DEBUG - Response for deleting network ()
2025-04-25 00:11:44,437 - INFO - Deleting VN ctest-vn-29097523
2025-04-25 00:11:44,521 - DEBUG - Response for deleting network ()
2025-04-25 00:11:44,777 - DEBUG - No XMPP flaps were noticed during the test
2025-04-25 00:11:44,777 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-25 00:11:44,777 - INFO - --------------------------------------------------------------------------------
2025-04-25 00:11:45,402 - INFO - Deleted project: ctest-TestRoutersBasic-51750034, ID : 39181a5c-3d6a-4530-992a-4149e575e82d