2025-02-05 10:27:04,459 - INFO - Domain Default found not creating 2025-02-05 10:27:04,598 - INFO - Project ctest-TestRoutersBasic-78659702 not found, creating it 2025-02-05 10:27:05,071 - INFO - Created Project:ctest-TestRoutersBasic-78659702, ID : d38dcb72-1171-469c-ad9e-41f398d4973d 2025-02-05 10:27:06,724 - INFO - ================================================================================ 2025-02-05 10:27:06,724 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-05 10:27:06,724 - 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-05 10:27:06,981 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.12': '0'}} with 2025-02-05 10:27:06,981 - INFO - Initial checks done. Running the testcase now 2025-02-05 10:27:06,981 - INFO - 2025-02-05 10:27:07,673 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78659702 2025-02-05 10:27:07,774 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78659702 2025-02-05 10:27:08,110 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78659702', 'default']} 2025-02-05 10:27:08,397 - DEBUG - Response for create_network : {'network': {'id': '78fde976-ab6a-44e6-a91f-5f424603f73e', 'name': 'ctest-vn-40123925', 'tenant_id': 'd38dcb721171469cad9e41f398d4973d', 'project_id': 'd38dcb721171469cad9e41f398d4973d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78659702', 'ctest-vn-40123925'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 10:27:08,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '301b54fe-eb81-42eb-ab30-d908eebd757c', 'name': '', 'tenant_id': 'd38dcb721171469cad9e41f398d4973d', 'network_id': '78fde976-ab6a-44e6-a91f-5f424603f73e', 'ip_version': 4, 'cidr': '85.173.18.64/26', 'allocation_pools': [{'start': '85.173.18.66', 'end': '85.173.18.126'}], 'gateway_ip': '85.173.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.173.18.66', 'tags': [], 'project_id': 'd38dcb721171469cad9e41f398d4973d'}} 2025-02-05 10:27:08,575 - INFO - Created VN ctest-vn-40123925 2025-02-05 10:27:08,630 - DEBUG - VN ctest-vn-40123925 UUID is 78fde976-ab6a-44e6-a91f-5f424603f73e 2025-02-05 10:27:08,948 - DEBUG - Response for create_network : {'network': {'id': 'e8836a03-dcef-4874-ab10-24a756fe4b34', 'name': 'ctest-ext_vn-24366682', 'tenant_id': 'd38dcb721171469cad9e41f398d4973d', 'project_id': 'd38dcb721171469cad9e41f398d4973d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78659702', 'ctest-ext_vn-24366682'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 10:27:09,133 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1c43924-cd8e-45e5-a7e7-dac4585f5b93', 'name': '', 'tenant_id': 'd38dcb721171469cad9e41f398d4973d', 'network_id': 'e8836a03-dcef-4874-ab10-24a756fe4b34', 'ip_version': 4, 'cidr': '28.51.157.128/26', 'allocation_pools': [{'start': '28.51.157.130', 'end': '28.51.157.190'}], 'gateway_ip': '28.51.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.51.157.130', 'tags': [], 'project_id': 'd38dcb721171469cad9e41f398d4973d'}} 2025-02-05 10:27:09,151 - INFO - Created VN ctest-ext_vn-24366682 2025-02-05 10:27:09,202 - DEBUG - VN ctest-ext_vn-24366682 UUID is e8836a03-dcef-4874-ab10-24a756fe4b34 2025-02-05 10:27:09,369 - DEBUG - Services list from nova: [, , ] 2025-02-05 10:27:10,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2690-1) 2025-02-05 10:27:11,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2690-1) 2025-02-05 10:27:11,588 - INFO - Setting gateway for router 603da574-e450-41de-b5bb-4445877d56ea to network e8836a03-dcef-4874-ab10-24a756fe4b34 2025-02-05 10:27:11,660 - INFO - Adding interface with subnet_id 301b54fe-eb81-42eb-ab30-d908eebd757c, port_id None to router 603da574-e450-41de-b5bb-4445877d56ea 2025-02-05 10:27:12,060 - INFO - Waiting for VM ctest-TestRoutersBasic-78659702-50078141 to be up.. 2025-02-05 10:27:12,255 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 10:27:17,334 - DEBUG - VM is in ACTIVE state now 2025-02-05 10:27:17,334 - INFO - VM name : ctest-TestRoutersBasic-78659702-50078141 2025-02-05 10:27:17,411 - DEBUG - VM ctest-TestRoutersBasic-78659702-50078141 ID is 54dc6108-85a7-4611-afd5-4d6f8bb762c3 2025-02-05 10:27:17,431 - DEBUG - VM ctest-TestRoutersBasic-78659702-50078141 launched on Node cn-jenkins-deploy-platform-ansible-os-2690-1 2025-02-05 10:27:17,506 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/54dc6108-85a7-4611-afd5-4d6f8bb762c3 2025-02-05 10:27:17,800 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/54dc6108-85a7-4611-afd5-4d6f8bb762c3 2025-02-05 10:27:17,837 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/a83b709d-e9df-42ee-a385-852611a9a362 2025-02-05 10:27:21,113 - 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 1027ms') 2025-02-05 10:27:21,113 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78659702-50078141 failed! 2025-02-05 10:27:21,170 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78659702:ctest-vn-40123925 is 85.173.18.65 and allocation pool is NOT set 2025-02-05 10:27:23,236 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.346 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 = 0.346/1.730/3.115/1.384 ms') 2025-02-05 10:27:23,236 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78659702-50078141 passed 2025-02-05 10:27:23,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 10:27:23,386 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78659702-50078141, IP 85.173.18.67, Port 22 2025-02-05 10:27:23,541 - DEBUG - VM ctest-TestRoutersBasic-78659702-50078141 is ready for SSH connections 2025-02-05 10:27:23,541 - INFO - Waiting for VM ctest-TestRoutersBasic-78659702-22541052 to be up.. 2025-02-05 10:27:23,638 - DEBUG - VM is in ACTIVE state now 2025-02-05 10:27:23,638 - INFO - VM name : ctest-TestRoutersBasic-78659702-22541052 2025-02-05 10:27:23,716 - DEBUG - VM ctest-TestRoutersBasic-78659702-22541052 ID is 7d830e9b-2b8b-4678-906f-4b00a7fa8889 2025-02-05 10:27:23,716 - DEBUG - VM ctest-TestRoutersBasic-78659702-22541052 launched on Node cn-jenkins-deploy-platform-ansible-os-2690-1 2025-02-05 10:27:23,787 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/7d830e9b-2b8b-4678-906f-4b00a7fa8889 2025-02-05 10:27:23,795 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/ca8bfcf0-ac49-4b81-8fae-125d4cc4c362 2025-02-05 10:27:25,038 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.335 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.335/1.735/3.136/1.400 ms') 2025-02-05 10:27:25,038 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78659702-22541052 passed 2025-02-05 10:27:25,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 10:27:25,186 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78659702-22541052, IP 28.51.157.131, Port 22 2025-02-05 10:27:25,341 - DEBUG - VM ctest-TestRoutersBasic-78659702-22541052 is ready for SSH connections 2025-02-05 10:27:25,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 10:27:25,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.51.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-05 10:27:25,342 - DEBUG - ping -s 56 -c 3 -W 1 28.51.157.131 2025-02-05 10:27:29,334 - DEBUG - PING 28.51.157.131 (28.51.157.131): 56 data bytes 64 bytes from 28.51.157.131: seq=0 ttl=62 time=7.364 ms 64 bytes from 28.51.157.131: seq=1 ttl=62 time=1.088 ms 64 bytes from 28.51.157.131: seq=2 ttl=62 time=0.778 ms --- 28.51.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/3.076/7.364 ms 2025-02-05 10:27:29,334 - INFO - Ping to IP 28.51.157.131 from VM ctest-TestRoutersBasic-78659702-50078141 passed 2025-02-05 10:27:29,334 - INFO - Deleting interface with subnet_id 301b54fe-eb81-42eb-ab30-d908eebd757c, port_id None from router 603da574-e450-41de-b5bb-4445877d56ea 2025-02-05 10:27:29,694 - INFO - Deleting VM ctest-TestRoutersBasic-78659702-22541052 2025-02-05 10:27:29,777 - INFO - Deleting VM ctest-TestRoutersBasic-78659702-50078141 2025-02-05 10:27:29,863 - INFO - Deleting VN ctest-ext_vn-24366682 2025-02-05 10:27:29,971 - DEBUG - VN e8836a03-dcef-4874-ab10-24a756fe4b34 still in use: Unable to complete operation on network e8836a03-dcef-4874-ab10-24a756fe4b34. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44bec79c-ed25-4e41-8501-9368b8282b20'] 2025-02-05 10:27:29,972 - WARNING - Deleting VN ctest-ext_vn-24366682 failed..Will retry 2025-02-05 10:27:32,086 - DEBUG - Response for deleting network () 2025-02-05 10:27:32,086 - INFO - Deleting VN ctest-vn-40123925 2025-02-05 10:27:32,194 - DEBUG - Response for deleting network () 2025-02-05 10:27:32,447 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 10:27:32,448 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-05 10:27:32,448 - INFO - -------------------------------------------------------------------------------- 2025-02-05 10:27:33,119 - INFO - Deleted project: ctest-TestRoutersBasic-78659702, ID : d38dcb72-1171-469c-ad9e-41f398d4973d