2025-04-26 12:50:16,787 - INFO - Domain Default found not creating
2025-04-26 12:50:16,940 - INFO - Project ctest-TestRoutersBasic-72058268 not found, creating it
2025-04-26 12:50:17,407 - INFO - Created Project:ctest-TestRoutersBasic-72058268, ID : ef52c2a6-b0e0-4516-b312-37dd36d6c0c1
2025-04-26 12:50:19,626 - INFO - ================================================================================
2025-04-26 12:50:19,627 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-26 12:50:19,627 - 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-26 12:50:19,882 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-26 12:50:19,882 - INFO - Initial checks done. Running the testcase now
2025-04-26 12:50:19,882 - INFO -
2025-04-26 12:50:20,659 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72058268
2025-04-26 12:50:20,759 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72058268
2025-04-26 12:50:21,079 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72058268', 'default']}
2025-04-26 12:50:21,391 - DEBUG - Response for create_network : {'network': {'id': 'd1cb4933-ca27-49e6-b43b-7033b5bcce2c', 'name': 'ctest-vn-73751249', 'tenant_id': 'ef52c2a6b0e04516b31237dd36d6c0c1', 'project_id': 'ef52c2a6b0e04516b31237dd36d6c0c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72058268', 'ctest-vn-73751249'], 'port_security_enabled': True, 'description': ''}}
2025-04-26 12:50:21,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '11dc16cb-325a-49d9-bf20-be68bd229115', 'name': '', 'tenant_id': 'ef52c2a6b0e04516b31237dd36d6c0c1', 'network_id': 'd1cb4933-ca27-49e6-b43b-7033b5bcce2c', 'ip_version': 4, 'cidr': '168.20.232.64/26', 'allocation_pools': [{'start': '168.20.232.66', 'end': '168.20.232.126'}], 'gateway_ip': '168.20.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.20.232.66', 'tags': [], 'project_id': 'ef52c2a6b0e04516b31237dd36d6c0c1'}}
2025-04-26 12:50:21,610 - INFO - Created VN ctest-vn-73751249
2025-04-26 12:50:21,663 - DEBUG - VN ctest-vn-73751249 UUID is d1cb4933-ca27-49e6-b43b-7033b5bcce2c
2025-04-26 12:50:21,987 - DEBUG - Response for create_network : {'network': {'id': '38be2920-32ec-436d-9eb2-cae310b07b2a', 'name': 'ctest-ext_vn-39522261', 'tenant_id': 'ef52c2a6b0e04516b31237dd36d6c0c1', 'project_id': 'ef52c2a6b0e04516b31237dd36d6c0c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72058268', 'ctest-ext_vn-39522261'], 'port_security_enabled': True, 'description': ''}}
2025-04-26 12:50:22,163 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af0bd467-7652-4b49-84f5-b9e5785d7048', 'name': '', 'tenant_id': 'ef52c2a6b0e04516b31237dd36d6c0c1', 'network_id': '38be2920-32ec-436d-9eb2-cae310b07b2a', 'ip_version': 4, 'cidr': '94.101.23.0/26', 'allocation_pools': [{'start': '94.101.23.2', 'end': '94.101.23.62'}], 'gateway_ip': '94.101.23.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.101.23.2', 'tags': [], 'project_id': 'ef52c2a6b0e04516b31237dd36d6c0c1'}}
2025-04-26 12:50:22,180 - INFO - Created VN ctest-ext_vn-39522261
2025-04-26 12:50:22,231 - DEBUG - VN ctest-ext_vn-39522261 UUID is 38be2920-32ec-436d-9eb2-cae310b07b2a
2025-04-26 12:50:22,424 - DEBUG - Services list from nova: [, , ]
2025-04-26 12:50:23,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3221-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3221-1)
2025-04-26 12:50:24,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3221-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3221-1)
2025-04-26 12:50:24,833 - INFO - Setting gateway for router 6801f002-d01c-4a79-84b6-8bd163f8174e to network 38be2920-32ec-436d-9eb2-cae310b07b2a
2025-04-26 12:50:24,892 - INFO - Adding interface with subnet_id 11dc16cb-325a-49d9-bf20-be68bd229115, port_id None to router 6801f002-d01c-4a79-84b6-8bd163f8174e
2025-04-26 12:50:25,330 - INFO - Waiting for VM ctest-TestRoutersBasic-72058268-57592021 to be up..
2025-04-26 12:50:25,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-26 12:50:30,684 - DEBUG - VM is in ACTIVE state now
2025-04-26 12:50:30,684 - INFO - VM name : ctest-TestRoutersBasic-72058268-57592021
2025-04-26 12:50:30,765 - DEBUG - VM ctest-TestRoutersBasic-72058268-57592021 ID is 5be2b66d-e0c6-4007-8df4-b65baf2e4a17
2025-04-26 12:50:30,792 - DEBUG - VM ctest-TestRoutersBasic-72058268-57592021 launched on Node cn-jenkins-deploy-platform-ansible-os-3221-1
2025-04-26 12:50:30,875 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5be2b66d-e0c6-4007-8df4-b65baf2e4a17
2025-04-26 12:50:31,207 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5be2b66d-e0c6-4007-8df4-b65baf2e4a17
2025-04-26 12:50:31,254 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/358473b6-07b9-4559-9d6d-92d5bf36670b
2025-04-26 12:50:34,533 - 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 1026ms')
2025-04-26 12:50:34,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72058268-57592021 failed!
2025-04-26 12:50:34,587 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72058268:ctest-vn-73751249 is 168.20.232.65 and allocation pool is NOT set
2025-04-26 12:50:36,647 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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.456/1.728/3.000/1.272 ms')
2025-04-26 12:50:36,647 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72058268-57592021 passed
2025-04-26 12:50:36,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 12:50:36,804 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72058268-57592021, IP 168.20.232.67, Port 22
2025-04-26 12:50:36,973 - DEBUG - VM ctest-TestRoutersBasic-72058268-57592021 is ready for SSH connections
2025-04-26 12:50:36,973 - INFO - Waiting for VM ctest-TestRoutersBasic-72058268-96580464 to be up..
2025-04-26 12:50:37,051 - DEBUG - VM is in ACTIVE state now
2025-04-26 12:50:37,051 - INFO - VM name : ctest-TestRoutersBasic-72058268-96580464
2025-04-26 12:50:37,120 - DEBUG - VM ctest-TestRoutersBasic-72058268-96580464 ID is 4374489c-a337-4589-9598-c418ff185f7d
2025-04-26 12:50:37,120 - DEBUG - VM ctest-TestRoutersBasic-72058268-96580464 launched on Node cn-jenkins-deploy-platform-ansible-os-3221-1
2025-04-26 12:50:37,192 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4374489c-a337-4589-9598-c418ff185f7d
2025-04-26 12:50:37,202 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/63d4b761-70e8-4718-ae4d-1ed1c4703a6b
2025-04-26 12:50:38,448 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/2.155/3.903/1.747 ms')
2025-04-26 12:50:38,448 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72058268-96580464 passed
2025-04-26 12:50:38,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 12:50:38,604 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72058268-96580464, IP 94.101.23.3, Port 22
2025-04-26 12:50:38,759 - DEBUG - VM ctest-TestRoutersBasic-72058268-96580464 is ready for SSH connections
2025-04-26 12:50:38,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 12:50:38,759 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.101.23.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-26 12:50:38,759 - DEBUG - ping -s 56 -c 3 -W 1 94.101.23.3
2025-04-26 12:50:42,786 - DEBUG - PING 94.101.23.3 (94.101.23.3): 56 data bytes
64 bytes from 94.101.23.3: seq=0 ttl=62 time=7.341 ms
64 bytes from 94.101.23.3: seq=1 ttl=62 time=0.975 ms
64 bytes from 94.101.23.3: seq=2 ttl=62 time=0.984 ms
--- 94.101.23.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.975/3.100/7.341 ms
2025-04-26 12:50:42,786 - INFO - Ping to IP 94.101.23.3 from VM ctest-TestRoutersBasic-72058268-57592021 passed
2025-04-26 12:50:42,786 - INFO - Deleting interface with subnet_id 11dc16cb-325a-49d9-bf20-be68bd229115, port_id None from router 6801f002-d01c-4a79-84b6-8bd163f8174e
2025-04-26 12:50:43,021 - INFO - Deleting VM ctest-TestRoutersBasic-72058268-96580464
2025-04-26 12:50:43,103 - INFO - Deleting VM ctest-TestRoutersBasic-72058268-57592021
2025-04-26 12:50:43,187 - INFO - Deleting VN ctest-ext_vn-39522261
2025-04-26 12:50:43,255 - DEBUG - VN 38be2920-32ec-436d-9eb2-cae310b07b2a still in use: Unable to complete operation on network 38be2920-32ec-436d-9eb2-cae310b07b2a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2b6adc67-46d5-4c7b-9a6c-84283fb91ccc']
2025-04-26 12:50:43,255 - WARNING - Deleting VN ctest-ext_vn-39522261 failed..Will retry
2025-04-26 12:50:45,364 - DEBUG - Response for deleting network ()
2025-04-26 12:50:45,364 - INFO - Deleting VN ctest-vn-73751249
2025-04-26 12:50:45,474 - DEBUG - Response for deleting network ()
2025-04-26 12:50:45,734 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 12:50:45,734 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-26 12:50:45,734 - INFO - --------------------------------------------------------------------------------
2025-04-26 12:50:46,472 - INFO - Deleted project: ctest-TestRoutersBasic-72058268, ID : ef52c2a6-b0e0-4516-b312-37dd36d6c0c1