2025-02-10 12:15:53,238 - INFO - Domain Default found not creating
2025-02-10 12:15:53,366 - INFO - Project ctest-TestRoutersBasic-66941152 not found, creating it
2025-02-10 12:15:53,833 - INFO - Created Project:ctest-TestRoutersBasic-66941152, ID : 420a79ef-5367-461c-a8e8-561b750431b1
2025-02-10 12:15:55,198 - INFO - ================================================================================
2025-02-10 12:15:55,198 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-10 12:15:55,198 - 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-10 12:15:55,451 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.6': '0'}} with
2025-02-10 12:15:55,451 - INFO - Initial checks done. Running the testcase now
2025-02-10 12:15:55,451 - INFO -
2025-02-10 12:15:56,145 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66941152
2025-02-10 12:15:56,241 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66941152
2025-02-10 12:15:56,574 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66941152', 'default']}
2025-02-10 12:15:56,881 - DEBUG - Response for create_network : {'network': {'id': '4d3ec372-088d-471e-a862-bf8b4ec98cd3', 'name': 'ctest-vn-58373613', 'tenant_id': '420a79ef5367461ca8e8561b750431b1', 'project_id': '420a79ef5367461ca8e8561b750431b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66941152', 'ctest-vn-58373613'], 'port_security_enabled': True, 'description': ''}}
2025-02-10 12:15:57,025 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9d26251-31cb-403e-92a8-047fd8e931e5', 'name': '', 'tenant_id': '420a79ef5367461ca8e8561b750431b1', 'network_id': '4d3ec372-088d-471e-a862-bf8b4ec98cd3', 'ip_version': 4, 'cidr': '12.129.53.64/26', 'allocation_pools': [{'start': '12.129.53.66', 'end': '12.129.53.126'}], 'gateway_ip': '12.129.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.129.53.66', 'tags': [], 'project_id': '420a79ef5367461ca8e8561b750431b1'}}
2025-02-10 12:15:57,041 - INFO - Created VN ctest-vn-58373613
2025-02-10 12:15:57,093 - DEBUG - VN ctest-vn-58373613 UUID is 4d3ec372-088d-471e-a862-bf8b4ec98cd3
2025-02-10 12:15:57,391 - DEBUG - Response for create_network : {'network': {'id': 'd38eb982-2ec4-497b-b17c-98bef9bd585f', 'name': 'ctest-ext_vn-99043463', 'tenant_id': '420a79ef5367461ca8e8561b750431b1', 'project_id': '420a79ef5367461ca8e8561b750431b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66941152', 'ctest-ext_vn-99043463'], 'port_security_enabled': True, 'description': ''}}
2025-02-10 12:15:57,572 - DEBUG - Response for create_subnet : {'subnet': {'id': '09489358-dc5d-4b11-81e3-81fe3aa9cb7b', 'name': '', 'tenant_id': '420a79ef5367461ca8e8561b750431b1', 'network_id': 'd38eb982-2ec4-497b-b17c-98bef9bd585f', 'ip_version': 4, 'cidr': '78.161.40.128/26', 'allocation_pools': [{'start': '78.161.40.130', 'end': '78.161.40.190'}], 'gateway_ip': '78.161.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.161.40.130', 'tags': [], 'project_id': '420a79ef5367461ca8e8561b750431b1'}}
2025-02-10 12:15:57,589 - INFO - Created VN ctest-ext_vn-99043463
2025-02-10 12:15:57,641 - DEBUG - VN ctest-ext_vn-99043463 UUID is d38eb982-2ec4-497b-b17c-98bef9bd585f
2025-02-10 12:15:57,837 - DEBUG - Services list from nova: [, , ]
2025-02-10 12:15:58,796 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2712-1)
2025-02-10 12:15:59,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2712-1)
2025-02-10 12:15:59,956 - INFO - Setting gateway for router ccef1dab-7f81-4a37-9d22-3850b9b782b9 to network d38eb982-2ec4-497b-b17c-98bef9bd585f
2025-02-10 12:16:00,047 - INFO - Adding interface with subnet_id f9d26251-31cb-403e-92a8-047fd8e931e5, port_id None to router ccef1dab-7f81-4a37-9d22-3850b9b782b9
2025-02-10 12:16:00,498 - INFO - Waiting for VM ctest-TestRoutersBasic-66941152-50485604 to be up..
2025-02-10 12:16:00,650 - DEBUG - VM is in ACTIVE state now
2025-02-10 12:16:00,650 - INFO - VM name : ctest-TestRoutersBasic-66941152-50485604
2025-02-10 12:16:00,809 - DEBUG - VM ctest-TestRoutersBasic-66941152-50485604 ID is 45a192c8-a397-41b4-96ce-ec9d91bea697
2025-02-10 12:16:00,832 - DEBUG - VM ctest-TestRoutersBasic-66941152-50485604 launched on Node cn-jenkins-deploy-platform-ansible-os-2712-1
2025-02-10 12:16:00,932 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/45a192c8-a397-41b4-96ce-ec9d91bea697
2025-02-10 12:16:01,250 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/45a192c8-a397-41b4-96ce-ec9d91bea697
2025-02-10 12:16:01,284 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6eff5f61-bfba-47cd-acd7-6dbd17f048ec
2025-02-10 12:16:04,574 - 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 1023ms')
2025-02-10 12:16:04,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66941152-50485604 failed!
2025-02-10 12:16:04,633 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66941152:ctest-vn-58373613 is 12.129.53.65 and allocation pool is NOT set
2025-02-10 12:16:08,698 - 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-02-10 12:16:08,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66941152-50485604 failed!
2025-02-10 12:16:08,753 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66941152:ctest-vn-58373613 is 12.129.53.65 and allocation pool is NOT set
2025-02-10 12:16:10,811 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.476/2.528/1.051 ms')
2025-02-10 12:16:10,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66941152-50485604 passed
2025-02-10 12:16:10,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 12:16:10,973 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66941152-50485604, IP 12.129.53.67, Port 22
2025-02-10 12:16:11,124 - DEBUG - VM ctest-TestRoutersBasic-66941152-50485604 is ready for SSH connections
2025-02-10 12:16:11,124 - INFO - Waiting for VM ctest-TestRoutersBasic-66941152-59621728 to be up..
2025-02-10 12:16:11,193 - DEBUG - VM is in ACTIVE state now
2025-02-10 12:16:11,193 - INFO - VM name : ctest-TestRoutersBasic-66941152-59621728
2025-02-10 12:16:11,262 - DEBUG - VM ctest-TestRoutersBasic-66941152-59621728 ID is 856a40b4-8ec1-476c-b83f-17f4138dd3ae
2025-02-10 12:16:11,262 - DEBUG - VM ctest-TestRoutersBasic-66941152-59621728 launched on Node cn-jenkins-deploy-platform-ansible-os-2712-1
2025-02-10 12:16:11,329 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/856a40b4-8ec1-476c-b83f-17f4138dd3ae
2025-02-10 12:16:11,337 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/16260b9d-42ee-4b81-944d-2527dbd6f2a0
2025-02-10 12:16:12,573 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 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.476/1.615/2.755/1.139 ms')
2025-02-10 12:16:12,573 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66941152-59621728 passed
2025-02-10 12:16:12,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 12:16:12,721 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66941152-59621728, IP 78.161.40.131, Port 22
2025-02-10 12:16:12,876 - DEBUG - VM ctest-TestRoutersBasic-66941152-59621728 is ready for SSH connections
2025-02-10 12:16:12,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 12:16:12,877 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.161.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-02-10 12:16:12,877 - DEBUG - ping -s 56 -c 3 -W 1 78.161.40.131
2025-02-10 12:16:16,847 - DEBUG - PING 78.161.40.131 (78.161.40.131): 56 data bytes
64 bytes from 78.161.40.131: seq=0 ttl=62 time=6.364 ms
64 bytes from 78.161.40.131: seq=1 ttl=62 time=0.837 ms
64 bytes from 78.161.40.131: seq=2 ttl=62 time=0.830 ms
--- 78.161.40.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.830/2.677/6.364 ms
2025-02-10 12:16:16,847 - INFO - Ping to IP 78.161.40.131 from VM ctest-TestRoutersBasic-66941152-50485604 passed
2025-02-10 12:16:16,847 - INFO - Deleting interface with subnet_id f9d26251-31cb-403e-92a8-047fd8e931e5, port_id None from router ccef1dab-7f81-4a37-9d22-3850b9b782b9
2025-02-10 12:16:17,041 - INFO - Deleting VM ctest-TestRoutersBasic-66941152-59621728
2025-02-10 12:16:17,100 - INFO - Deleting VM ctest-TestRoutersBasic-66941152-50485604
2025-02-10 12:16:17,180 - INFO - Deleting VN ctest-ext_vn-99043463
2025-02-10 12:16:17,267 - DEBUG - VN d38eb982-2ec4-497b-b17c-98bef9bd585f still in use: Unable to complete operation on network d38eb982-2ec4-497b-b17c-98bef9bd585f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7fed3cc7-3749-4ae1-b577-3161a28f46ff']
2025-02-10 12:16:17,267 - WARNING - Deleting VN ctest-ext_vn-99043463 failed..Will retry
2025-02-10 12:16:19,358 - DEBUG - Response for deleting network ()
2025-02-10 12:16:19,358 - INFO - Deleting VN ctest-vn-58373613
2025-02-10 12:16:19,468 - DEBUG - Response for deleting network ()
2025-02-10 12:16:19,726 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 12:16:19,727 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-02-10 12:16:19,727 - INFO - --------------------------------------------------------------------------------
2025-02-10 12:16:20,390 - INFO - Deleted project: ctest-TestRoutersBasic-66941152, ID : 420a79ef-5367-461c-a8e8-561b750431b1