2025-02-17 18:46:16,487 - INFO - Domain Default found not creating 2025-02-17 18:46:16,652 - INFO - Project ctest-TestRoutersBasic-29830581 not found, creating it 2025-02-17 18:46:17,154 - INFO - Created Project:ctest-TestRoutersBasic-29830581, ID : dbaa0bb5-ee2c-4855-91ce-6f44d28b5bf3 2025-02-17 18:46:19,458 - INFO - ================================================================================ 2025-02-17 18:46:19,459 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-17 18:46:19,459 - 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-02-17 18:46:19,716 - DEBUG - Nothing to compare xmpp stats {'10.0.0.58': {'10.20.0.20': '0'}} with 2025-02-17 18:46:19,716 - INFO - Initial checks done. Running the testcase now 2025-02-17 18:46:19,716 - INFO - 2025-02-17 18:46:20,623 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29830581 2025-02-17 18:46:20,722 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29830581 2025-02-17 18:46:21,054 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29830581', 'default']} 2025-02-17 18:46:21,357 - DEBUG - Response for create_network : {'network': {'id': 'b0bfe881-b1b0-44e1-9c39-de97b8d2e59e', 'name': 'ctest-vn-55616946', 'tenant_id': 'dbaa0bb5ee2c485591ce6f44d28b5bf3', 'project_id': 'dbaa0bb5ee2c485591ce6f44d28b5bf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29830581', 'ctest-vn-55616946'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 18:46:21,556 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3238186-03ac-4482-aefd-828da3075881', 'name': '', 'tenant_id': 'dbaa0bb5ee2c485591ce6f44d28b5bf3', 'network_id': 'b0bfe881-b1b0-44e1-9c39-de97b8d2e59e', 'ip_version': 4, 'cidr': '213.154.245.0/26', 'allocation_pools': [{'start': '213.154.245.2', 'end': '213.154.245.62'}], 'gateway_ip': '213.154.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.154.245.2', 'tags': [], 'project_id': 'dbaa0bb5ee2c485591ce6f44d28b5bf3'}} 2025-02-17 18:46:21,576 - INFO - Created VN ctest-vn-55616946 2025-02-17 18:46:21,630 - DEBUG - VN ctest-vn-55616946 UUID is b0bfe881-b1b0-44e1-9c39-de97b8d2e59e 2025-02-17 18:46:21,981 - DEBUG - Response for create_network : {'network': {'id': 'addf63e1-3824-434f-9b1f-611460fcb277', 'name': 'ctest-ext_vn-21226061', 'tenant_id': 'dbaa0bb5ee2c485591ce6f44d28b5bf3', 'project_id': 'dbaa0bb5ee2c485591ce6f44d28b5bf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29830581', 'ctest-ext_vn-21226061'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 18:46:22,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e3ec8de-8afc-4224-bdd1-eaa6b3478503', 'name': '', 'tenant_id': 'dbaa0bb5ee2c485591ce6f44d28b5bf3', 'network_id': 'addf63e1-3824-434f-9b1f-611460fcb277', 'ip_version': 4, 'cidr': '163.45.109.0/26', 'allocation_pools': [{'start': '163.45.109.2', 'end': '163.45.109.62'}], 'gateway_ip': '163.45.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.45.109.2', 'tags': [], 'project_id': 'dbaa0bb5ee2c485591ce6f44d28b5bf3'}} 2025-02-17 18:46:22,224 - INFO - Created VN ctest-ext_vn-21226061 2025-02-17 18:46:22,278 - DEBUG - VN ctest-ext_vn-21226061 UUID is addf63e1-3824-434f-9b1f-611460fcb277 2025-02-17 18:46:22,457 - DEBUG - Services list from nova: [, , ] 2025-02-17 18:46:23,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2743-1) 2025-02-17 18:46:24,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2743-1) 2025-02-17 18:46:24,995 - INFO - Setting gateway for router d3f4a3f8-bbc4-4b83-9ab6-5acbc8872349 to network addf63e1-3824-434f-9b1f-611460fcb277 2025-02-17 18:46:25,069 - INFO - Adding interface with subnet_id f3238186-03ac-4482-aefd-828da3075881, port_id None to router d3f4a3f8-bbc4-4b83-9ab6-5acbc8872349 2025-02-17 18:46:25,592 - INFO - Waiting for VM ctest-TestRoutersBasic-29830581-13493069 to be up.. 2025-02-17 18:46:25,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-17 18:46:30,925 - DEBUG - VM is in ACTIVE state now 2025-02-17 18:46:30,925 - INFO - VM name : ctest-TestRoutersBasic-29830581-13493069 2025-02-17 18:46:31,015 - DEBUG - VM ctest-TestRoutersBasic-29830581-13493069 ID is d7bb85f9-564c-46d9-bfb3-633c43f5c646 2025-02-17 18:46:31,040 - DEBUG - VM ctest-TestRoutersBasic-29830581-13493069 launched on Node cn-jenkins-deploy-platform-ansible-os-2743-1 2025-02-17 18:46:31,124 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine/d7bb85f9-564c-46d9-bfb3-633c43f5c646 2025-02-17 18:46:31,459 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine/d7bb85f9-564c-46d9-bfb3-633c43f5c646 2025-02-17 18:46:31,494 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine-interface/299f9a6a-2f25-4787-a9c9-f35c7ec0ca08 2025-02-17 18:46:34,749 - 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 1005ms') 2025-02-17 18:46:34,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29830581-13493069 failed! 2025-02-17 18:46:34,806 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29830581:ctest-vn-55616946 is 213.154.245.1 and allocation pool is NOT set 2025-02-17 18:46:36,877 - 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=3.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.715 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.715/2.230/3.746/1.515 ms') 2025-02-17 18:46:36,877 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29830581-13493069 passed 2025-02-17 18:46:37,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 18:46:37,034 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29830581-13493069, IP 213.154.245.3, Port 22 2025-02-17 18:46:37,200 - DEBUG - VM ctest-TestRoutersBasic-29830581-13493069 is ready for SSH connections 2025-02-17 18:46:37,201 - INFO - Waiting for VM ctest-TestRoutersBasic-29830581-87650215 to be up.. 2025-02-17 18:46:37,291 - DEBUG - VM is in ACTIVE state now 2025-02-17 18:46:37,292 - INFO - VM name : ctest-TestRoutersBasic-29830581-87650215 2025-02-17 18:46:37,391 - DEBUG - VM ctest-TestRoutersBasic-29830581-87650215 ID is fb7092fa-7297-4c2f-a25d-2e531e2beb60 2025-02-17 18:46:37,392 - DEBUG - VM ctest-TestRoutersBasic-29830581-87650215 launched on Node cn-jenkins-deploy-platform-ansible-os-2743-1 2025-02-17 18:46:37,496 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine/fb7092fa-7297-4c2f-a25d-2e531e2beb60 2025-02-17 18:46:37,509 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine-interface/550ad28d-a0dd-4f51-8541-48a5f8ee30d0 2025-02-17 18:46:38,767 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.632 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 = 0.632/2.127/3.623/1.495 ms') 2025-02-17 18:46:38,767 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29830581-87650215 passed 2025-02-17 18:46:38,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 18:46:38,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29830581-87650215, IP 163.45.109.3, Port 22 2025-02-17 18:46:39,099 - DEBUG - VM ctest-TestRoutersBasic-29830581-87650215 is ready for SSH connections 2025-02-17 18:46:39,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 18:46:39,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.45.109.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.58, gateway password: c0ntrail123 2025-02-17 18:46:39,100 - DEBUG - ping -s 56 -c 3 -W 1 163.45.109.3 2025-02-17 18:46:42,833 - DEBUG - PING 163.45.109.3 (163.45.109.3): 56 data bytes 64 bytes from 163.45.109.3: seq=0 ttl=62 time=4.475 ms 64 bytes from 163.45.109.3: seq=1 ttl=62 time=0.863 ms 64 bytes from 163.45.109.3: seq=2 ttl=62 time=0.960 ms --- 163.45.109.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/2.099/4.475 ms 2025-02-17 18:46:42,833 - INFO - Ping to IP 163.45.109.3 from VM ctest-TestRoutersBasic-29830581-13493069 passed 2025-02-17 18:46:42,833 - INFO - Deleting interface with subnet_id f3238186-03ac-4482-aefd-828da3075881, port_id None from router d3f4a3f8-bbc4-4b83-9ab6-5acbc8872349 2025-02-17 18:46:43,055 - INFO - Deleting VM ctest-TestRoutersBasic-29830581-87650215 2025-02-17 18:46:43,130 - INFO - Deleting VM ctest-TestRoutersBasic-29830581-13493069 2025-02-17 18:46:43,206 - INFO - Deleting VN ctest-ext_vn-21226061 2025-02-17 18:46:43,290 - DEBUG - VN addf63e1-3824-434f-9b1f-611460fcb277 still in use: Unable to complete operation on network addf63e1-3824-434f-9b1f-611460fcb277. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-579ef0aa-2814-47e9-9a4a-280ddc0a7e26'] 2025-02-17 18:46:43,290 - WARNING - Deleting VN ctest-ext_vn-21226061 failed..Will retry 2025-02-17 18:46:45,411 - DEBUG - Response for deleting network () 2025-02-17 18:46:45,411 - INFO - Deleting VN ctest-vn-55616946 2025-02-17 18:46:45,557 - DEBUG - Response for deleting network () 2025-02-17 18:46:45,816 - DEBUG - No XMPP flaps were noticed during the test
2025-02-17 18:46:45,816 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-17 18:46:45,816 - INFO - -------------------------------------------------------------------------------- 2025-02-17 18:46:46,568 - INFO - Deleted project: ctest-TestRoutersBasic-29830581, ID : dbaa0bb5-ee2c-4855-91ce-6f44d28b5bf3